X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=rpmunpack.c;h=12e9c71de33e0fd21d008dfec3f24f0add9d3083;hb=55f9872616f0c42f3fb712cfb7f9d0bb52c8afcb;hp=85c7c9c1ee3fc1aaf4a77734bbd7e8b0410f0b00;hpb=ed3ef50c233ffb1b50ea0e7382a8e60b86491009;p=oweals%2Fbusybox.git diff --git a/rpmunpack.c b/rpmunpack.c index 85c7c9c1e..12e9c71de 100644 --- a/rpmunpack.c +++ b/rpmunpack.c @@ -13,11 +13,11 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ -#include "busybox.h" #include #include #include #include +#include "busybox.h" /* * Some general definitions @@ -44,7 +44,7 @@ static void myread(int num, char *buffer) if (err < 0) perror_msg_and_die(progname); else - error_msg_and_die("Unexpected end of input file!\n"); + error_msg_and_die("Unexpected end of input file!"); } } @@ -64,7 +64,7 @@ int rpmunpack_main(int argc, char **argv) /* Check for command line parameters */ if (argc>=2 && *argv[1]=='-') { - usage(rpmunpack_usage); + show_usage(); } /* Open input file */