summaryrefslogtreecommitdiff
path: root/udevmonitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevmonitor.c')
-rw-r--r--udevmonitor.c4
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"