#include "busybox.h"
#include <fcntl.h>
+#include <unistd.h>
+#include <string.h>
+#include <stdlib.h>
/*
* Some general definitions
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!");
}
}
/* Check for command line parameters */
if (argc>=2 && *argv[1]=='-') {
- usage(rpmunpack_usage);
+ show_usage();
}
/* Open input file */