diff options
author | Manuel Novoa III | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | Manuel Novoa III | 2003-03-19 09:13:01 +0000 |
commit | cad5364599eb5062d59e0c397ed638ddd61a8d5d (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /util-linux/freeramdisk.c | |
parent | e01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff) | |
download | busybox-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip busybox-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz |
Major coreutils update.
Diffstat (limited to 'util-linux/freeramdisk.c')
-rw-r--r-- | util-linux/freeramdisk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/freeramdisk.c b/util-linux/freeramdisk.c index dd7700c..9276a6c 100644 --- a/util-linux/freeramdisk.c +++ b/util-linux/freeramdisk.c @@ -41,17 +41,17 @@ freeramdisk_main(int argc, char **argv) FILE *f; if (argc != 2) { - show_usage(); + bb_show_usage(); } - f = xfopen(argv[1], "r+"); + f = bb_xfopen(argv[1], "r+"); result = ioctl(fileno(f), BLKFLSBUF); #ifdef CONFIG_FEATURE_CLEAN_UP fclose(f); #endif if (result < 0) { - perror_msg_and_die("failed ioctl on %s", argv[1]); + bb_perror_msg_and_die("failed ioctl on %s", argv[1]); } /* Don't bother closing. Exit does |