X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Fudevadm-trigger.c;h=c32e0b4e2faa0c74077d6fdd18ed90ab82a31832;hp=3cb07dda9abc7c987ab89fb98d25815385913339;hb=2d74bc75792bdd993e6298cf253541624001517c;hpb=28460195c2ae90892bf556aff2b80705a8f37795 diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c index 3cb07dda9..c32e0b4e2 100644 --- a/udev/udevadm-trigger.c +++ b/udev/udevadm-trigger.c @@ -122,13 +122,13 @@ int udevadm_trigger(struct udev *udev, int argc, char *argv[]) goto exit; } - while (1) { + for (;;) { int option; const char *key; const char *val; char buf[UTIL_PATH_SIZE]; - option = getopt_long(argc, argv, "vng:o:t:hcp:s:S:a:A:y:", options, NULL); + option = getopt_long(argc, argv, "vng:o:t:hc:p:s:S:a:A:y:", options, NULL); if (option == -1) break;