diff options
| author | jakllsch <jakllsch@NetBSD.org> | 2012-11-04 14:27:15 +0000 |
|---|---|---|
| committer | jakllsch <jakllsch@NetBSD.org> | 2012-11-04 14:27:15 +0000 |
| commit | 92e9f42b5fd514745ea9a4e10516e43d24b1700a (patch) | |
| tree | d08fbb8bfd276b70cc8592f8f83cb8917544c6cc /sbin/newfs_msdos | |
| parent | 4bc72a00f0082dd9c0f8c3ab8f7da9356b3462a5 (diff) | |
According to current file(1) magic definitions an unlabeled FAT is
denoted with "NO NAME" rather than "NO_NAME".
Diffstat (limited to 'sbin/newfs_msdos')
| -rw-r--r-- | sbin/newfs_msdos/newfs_msdos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c index 5dd4d52d132..6bb8c4d6e23 100644 --- a/sbin/newfs_msdos/newfs_msdos.c +++ b/sbin/newfs_msdos/newfs_msdos.c @@ -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 @@ main(int argc, char *argv[]) ((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) { |
