diff options
Diffstat (limited to 'toys/mdev.c')
-rw-r--r-- | toys/mdev.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/toys/mdev.c b/toys/mdev.c index a4ddb0b7..e979ca13 100644 --- a/toys/mdev.c +++ b/toys/mdev.c @@ -180,17 +180,15 @@ static void find_dev(char *path) closedir(dir); } -int mdev_main(int argc, char *argv[]) +void mdev_main(int argc, char *argv[]) { if (toys.optflags) { strcpy(toybuf, "/sys/block"); find_dev(toybuf); strcpy(toybuf, "/sys/class"); find_dev(toybuf); - return 0; + return; } // hotplug support goes here - - return 0; } |