am 933f0b88: am f21b6b92: am 87a56eb6: Merge "Use the getopt function in compliance with the standard."

* commit '933f0b88e4232f58f171b8217d7871f97a927c57':
  Use the getopt function in compliance with the standard.
diff --git a/reboot/reboot.c b/reboot/reboot.c
index d9a4227..007dfba 100644
--- a/reboot/reboot.c
+++ b/reboot/reboot.c
@@ -35,7 +35,7 @@
 
         c = getopt(argc, argv, "p");
 
-        if (c == EOF) {
+        if (c == -1) {
             break;
         }