X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fcollect%2Fcollect.c;h=7ebe865b62c7e5864c60cc4df5b2700e0a10d375;hp=8c141d2a5a6e818ec65aeca52eec3190b4469529;hb=d4f687c013a18010fdc2ddf937fad064343e635a;hpb=3eb46ec6ddeb31d9886ebb736d1d7b3534d2f354 diff --git a/extras/collect/collect.c b/extras/collect/collect.c index 8c141d2a5..7ebe865b6 100644 --- a/extras/collect/collect.c +++ b/extras/collect/collect.c @@ -31,7 +31,7 @@ #include #include -#include "../../udev/lib/list.h" +#include "../../udev/list.h" #define TMPFILE UDEV_PREFIX "/dev/.udev/collect" #define BUFSIZE 16 @@ -321,10 +321,10 @@ static void everybody(void) int main(int argc, char **argv) { static const struct option options[] = { - { "add", 0, NULL, 'a' }, - { "remove", 0, NULL, 'r' }, - { "debug", 0, NULL, 'd' }, - { "help", 0, NULL, 'h' }, + { "add", no_argument, NULL, 'a' }, + { "remove", no_argument, NULL, 'r' }, + { "debug", no_argument, NULL, 'd' }, + { "help", no_argument, NULL, 'h' }, {} }; int argi;