Module Name:    src
Committed By:   jakllsch
Date:           Sun Nov  4 14:27:16 UTC 2012

Modified Files:
        src/sbin/newfs_msdos: newfs_msdos.c

Log Message:
According to current file(1) magic definitions an unlabeled FAT is
denoted with "NO NAME" rather than "NO_NAME".


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sbin/newfs_msdos/newfs_msdos.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/newfs_msdos/newfs_msdos.c
diff -u src/sbin/newfs_msdos/newfs_msdos.c:1.38 src/sbin/newfs_msdos/newfs_msdos.c:1.39
--- src/sbin/newfs_msdos/newfs_msdos.c:1.38	Tue Jul 31 13:52:44 2012
+++ src/sbin/newfs_msdos/newfs_msdos.c	Sun Nov  4 14:27:15 2012
@@ -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) {

Reply via email to