chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libudev: enumerate - scan /sys/module
[elogind.git]
/
udev
/
udevadm-trigger.c
diff --git
a/udev/udevadm-trigger.c
b/udev/udevadm-trigger.c
index 3cb07dda9abc7c987ab89fb98d25815385913339..c32e0b4e2faa0c74077d6fdd18ed90ab82a31832 100644
(file)
--- 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;
}
goto exit;
}
-
while (1
) {
+
for (;;
) {
int option;
const char *key;
const char *val;
char buf[UTIL_PATH_SIZE];
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;
if (option == -1)
break;