summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdosfs/check.c
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2012-10-21 12:01:11 +0000
committeruqs <uqs@FreeBSD.org>2012-10-21 12:01:11 +0000
commitd704245c81126879f7dc17d84768dfe6451bbe9c (patch)
treeb2a97a49064cab03414a58504d6ca43ff136f9e0 /sbin/fsck_msdosfs/check.c
parentd96edb4e587b89c3e877d08c245522e42d77a812 (diff)
downloadFreeBSD-src-d704245c81126879f7dc17d84768dfe6451bbe9c.zip
FreeBSD-src-d704245c81126879f7dc17d84768dfe6451bbe9c.tar.gz
sbin/fsck: s/perror/perr/ to avoid shadowing
- rename some other vars too - merge NetBSD license changes Obtained from: NetBSD PR: bin/139802 Reviewed by: ed
Diffstat (limited to 'sbin/fsck_msdosfs/check.c')
-rw-r--r--sbin/fsck_msdosfs/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_msdosfs/check.c b/sbin/fsck_msdosfs/check.c
index 2f558bd..a522d88 100644
--- a/sbin/fsck_msdosfs/check.c
+++ b/sbin/fsck_msdosfs/check.c
@@ -26,7 +26,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: check.c,v 1.10 2000/04/25 23:02:51 jdolecek Exp $");
+__RCSID("$NetBSD: check.c,v 1.14 2006/06/05 16:51:18 christos Exp $");
static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
@@ -67,7 +67,7 @@ checkfilesys(const char *fname)
printf("\n");
if (dosfs < 0) {
- perror("Can't open");
+ perr("Can't open `%s'", fname);
return 8;
}
OpenPOWER on IntegriCloud