summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'reboot/reboot.c')
-rw-r--r--reboot/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reboot/reboot.c b/reboot/reboot.c
index d9a422764..007dfbaa4 100644
--- a/reboot/reboot.c
+++ b/reboot/reboot.c
@@ -35,7 +35,7 @@ int main(int argc, char *argv[])
35 35
36 c = getopt(argc, argv, "p"); 36 c = getopt(argc, argv, "p");
37 37
38 if (c == EOF) { 38 if (c == -1) {
39 break; 39 break;
40 } 40 }
41 41