diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-11-08 17:51:59 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-11-08 17:51:59 +0100 |
commit | 225cb03bd851adc6d269b13bdf2b1bfded2b96b9 (patch) | |
tree | 41b8b7e7042662172d545b4e29e7594411740fa9 /udevmonitor.c | |
parent | 01ac7d96fa65e83c71d5bba40633e813e9b4015b (diff) |
udevadm: merge all udev tools into a single binary
Diffstat (limited to 'udevmonitor.c')
-rw-r--r-- | udevmonitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udevmonitor.c b/udevmonitor.c index 644a955090..75e39481a0 100644 --- a/udevmonitor.c +++ b/udevmonitor.c @@ -123,7 +123,7 @@ static const char *search_key(const char *searchkey, const char *buf, size_t buf return NULL; } -int main(int argc, char *argv[]) +int udevmonitor(int argc, char *argv[], char *envp[]) { struct sigaction act; int option; @@ -157,7 +157,7 @@ int main(int argc, char *argv[]) udev = 1; break; case 'h': - printf("Usage: udevmonitor [--environment] [--kernel] [--udev] [--help]\n" + printf("Usage: udevadm monitor [--environment] [--kernel] [--udev] [--help]\n" " --env print the whole event environment\n" " --kernel print kernel uevents\n" " --udev print udev events\n" |