summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/fdformat.c')
-rw-r--r--disk-utils/fdformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fdformat.c b/disk-utils/fdformat.c
index ec2f6170e..97fd4e8d6 100644
--- a/disk-utils/fdformat.c
+++ b/disk-utils/fdformat.c
@@ -143,7 +143,7 @@ int main(int argc, char **argv)
if (argc < 1)
usage(stderr);
if (stat(argv[0], &st) < 0)
- err(EXIT_FAILURE, _("cannot stat file %s"), argv[0]);
+ err(EXIT_FAILURE, _("stat failed %s"), argv[0]);
if (!S_ISBLK(st.st_mode))
/* do not test major - perhaps this was an USB floppy */
errx(EXIT_FAILURE, _("%s: not a block device"), argv[0]);