summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_msdos
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2010-08-12 15:26:34 +0000
committerjsing <jsing@openbsd.org>2010-08-12 15:26:34 +0000
commite729ad4a423da219f527135e498a1f379a33acbb (patch)
tree5add57792d4a61b3b6ed99e6afcdc9575b2d3ca6 /sbin/fsck_msdos
parentFix a ton of space and tab violations. No binary change. (diff)
downloadwireguard-openbsd-e729ad4a423da219f527135e498a1f379a33acbb.tar.xz
wireguard-openbsd-e729ad4a423da219f527135e498a1f379a33acbb.zip
Print the real device name followed by the disklabel UID in parenthesis
when fsck is run against a disklabel UID. This allows a user to determine which device is really being scanned. ok krw@
Diffstat (limited to 'sbin/fsck_msdos')
-rw-r--r--sbin/fsck_msdos/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fsck_msdos/main.c b/sbin/fsck_msdos/main.c
index 75fe0f366bc..78faff06500 100644
--- a/sbin/fsck_msdos/main.c
+++ b/sbin/fsck_msdos/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.16 2009/10/27 23:59:33 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.17 2010/08/12 15:26:34 jsing Exp $ */
/* $NetBSD: main.c,v 1.8 1996/10/17 20:29:53 cgd Exp $ */
/*
@@ -97,7 +97,7 @@ main(int argc, char *argv[])
usage();
while (argc-- > 0) {
- setcdevname(*argv, preen);
+ setcdevname(*argv, NULL, preen);
erg = checkfilesys(*argv++);
if (erg > ret)
ret = erg;