Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/newfs_msdos According to current file(1) magic definiti...
details: https://anonhg.NetBSD.org/src/rev/129150dadc87
branches: trunk
changeset: 782484:129150dadc87
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Nov 04 14:27:15 2012 +0000
description:
According to current file(1) magic definitions an unlabeled FAT is
denoted with "NO NAME" rather than "NO_NAME".
diffstat:
sbin/newfs_msdos/newfs_msdos.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d99b4a7bfad5 -r 129150dadc87 sbin/newfs_msdos/newfs_msdos.c
--- a/sbin/newfs_msdos/newfs_msdos.c Sun Nov 04 13:12:10 2012 +0000
+++ b/sbin/newfs_msdos/newfs_msdos.c Sun Nov 04 14:27:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs_msdos.c,v 1.38 2012/07/31 13:52:44 jakllsch Exp $ */
+/* $NetBSD: newfs_msdos.c,v 1.39 2012/11/04 14:27:15 jakllsch Exp $ */
/*
* Copyright (c) 1998 Robert Nordier
@@ -33,7 +33,7 @@
static const char rcsid[] =
"$FreeBSD: src/sbin/newfs_msdos/newfs_msdos.c,v 1.15 2000/10/10 01:49:37 wollman Exp $";
#else
-__RCSID("$NetBSD: newfs_msdos.c,v 1.38 2012/07/31 13:52:44 jakllsch Exp $");
+__RCSID("$NetBSD: newfs_msdos.c,v 1.39 2012/11/04 14:27:15 jakllsch Exp $");
#endif
#endif /* not lint */
@@ -699,7 +699,7 @@
((u_int)tm->tm_hour << 8 |
(u_int)tm->tm_min));
mk4(bsx->volid, x);
- mklabel(bsx->label, opt_L ? opt_L : "NO_NAME");
+ mklabel(bsx->label, opt_L ? opt_L : "NO NAME");
snprintf(buf, sizeof(buf), "FAT%u", fat);
setstr(bsx->type, buf, sizeof(bsx->type));
if (!opt_B) {
Home |
Main Index |
Thread Index |
Old Index