projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dpkg improvements, use full package struct, avoid extracting to tmp dir, rename variable.
[oweals/busybox.git]
/
freeramdisk.c
diff --git
a/freeramdisk.c
b/freeramdisk.c
index a2b17c6737b9daa31bdef62e4048584111bceb22..cf25fae6abb61f6d0cf27ff0a0aa29ab039c1ab3 100644
(file)
--- a/
freeramdisk.c
+++ b/
freeramdisk.c
@@
-27,6
+27,7
@@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <errno.h>
+#include <stdlib.h>
#include "busybox.h"
@@
-39,7
+40,7
@@
freeramdisk_main(int argc, char **argv)
int f;
if (argc != 2 || *argv[1] == '-') {
-
usage(freeramdisk_usage
);
+
show_usage(
);
}
if ((f = open(argv[1], O_RDWR)) == -1) {