X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=miscutils%2Fmakedevs.c;h=776bcaa8d9a7a82e4604a000893b288a222d4abf;hb=eea561871b45a2335ab6a09f14dad627ffcdc1cd;hp=24d07ebe0f3f253fd8b35395aee346bf306dda9e;hpb=d9cf7ac781c1274d6d23fa5674b6b90baaf4cf61;p=oweals%2Fbusybox.git diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 24d07ebe0..776bcaa8d 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -7,6 +7,7 @@ * known bugs: can't deal with alpha ranges */ +#include "busybox.h" #include #include #include @@ -16,7 +17,6 @@ #include #include #include /* major() and minor() */ -#include "busybox.h" #ifdef CONFIG_FEATURE_MAKEDEVS_LEAF int makedevs_main(int argc, char **argv) @@ -232,7 +232,7 @@ loop: } fclose(table); - return 0; + return ret; } #else