diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-12 21:02:35 +0400 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-12 21:02:35 +0400 |
commit | be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch) | |
tree | 088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /freeramdisk.c | |
parent | e58771e73c0d8589a458ede4088f5ba70eff917b (diff) |
Always report the applet name when doing error reporting.
Diffstat (limited to 'freeramdisk.c')
-rw-r--r-- | freeramdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freeramdisk.c b/freeramdisk.c index a6fa2431f..927c16946 100644 --- a/freeramdisk.c +++ b/freeramdisk.c @@ -52,10 +52,10 @@ freeramdisk_main(int argc, char **argv) } if ((f = open(argv[1], O_RDWR)) == -1) { - fatalError( "freeramdisk: cannot open %s: %s\n", argv[1], strerror(errno)); + fatalError( "cannot open %s: %s\n", argv[1], strerror(errno)); } if (ioctl(f, BLKFLSBUF) < 0) { - fatalError( "freeramdisk: failed ioctl on %s: %s\n", argv[1], strerror(errno)); + fatalError( "failed ioctl on %s: %s\n", argv[1], strerror(errno)); } /* Don't bother closing. Exit does * that, so we can save a few bytes */ |