diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2022-08-30 17:41:17 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-08-30 17:41:17 +0300 |
commit | fe73c8d55795a8fe7e95fc2c00af6899817b96b8 (patch) | |
tree | 1b772243f00c63d16ee4cf8bf6f80a6c7a53ee91 /examples | |
parent | 58598eb7093561d914a6254697e137b815f1fdfc (diff) |
*: style fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/shutdown-1.0/script/hardshutdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shutdown-1.0/script/hardshutdown.c b/examples/shutdown-1.0/script/hardshutdown.c index b4af26f0f..c90f55396 100644 --- a/examples/shutdown-1.0/script/hardshutdown.c +++ b/examples/shutdown-1.0/script/hardshutdown.c @@ -115,7 +115,7 @@ int main(int argc, char **argv) if (ptr) prog = ptr+1; - for (c=1; c < argc; c++) { + for (c = 1; c < argc; c++) { if (argv[c][0] >= '0' && argv[c][0] <= '9') { t.tv_sec = strtol(argv[c], NULL, 10); continue; @@ -124,7 +124,7 @@ int main(int argc, char **argv) usage(); return 1; } - for (i=1; argv[c][i]; i++) { + for (i = 1; argv[c][i]; i++) { switch (argv[c][i]) { case 'h': action = HALT; |