summaryrefslogtreecommitdiff
path: root/util-linux/freeramdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/freeramdisk.c')
-rw-r--r--util-linux/freeramdisk.c6
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