Module Name:    src
Committed By:   maya
Date:           Sat Oct  8 06:47:59 UTC 2016

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

Log Message:
change warning message

previously attempting to use mount -t ext2 like myself would result in
the warning "mount: mount_ext2 not found for /mnt", which (if you're me)
can be misunderstood as "/mnt is not an ext2 filesystem"...

change it to "mount: mount_ext2 not found"


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sbin/mount/mount.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/mount/mount.c
diff -u src/sbin/mount/mount.c:1.100 src/sbin/mount/mount.c:1.101
--- src/sbin/mount/mount.c:1.100	Sun Jan  4 22:05:37 2015
+++ src/sbin/mount/mount.c	Sat Oct  8 06:47:59 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: mount.c,v 1.100 2015/01/04 22:05:37 pooka Exp $	*/
+/*	$NetBSD: mount.c,v 1.101 2016/10/08 06:47:59 maya Exp $	*/
 
 /*
  * Copyright (c) 1980, 1989, 1993, 1994
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static char sccsid[] = "@(#)mount.c	8.25 (Berkeley) 5/8/95";
 #else
-__RCSID("$NetBSD: mount.c,v 1.100 2015/01/04 22:05:37 pooka Exp $");
+__RCSID("$NetBSD: mount.c,v 1.101 2016/10/08 06:47:59 maya Exp $");
 #endif
 #endif /* not lint */
 
@@ -503,7 +503,7 @@ mountfs(const char *vfstype, const char 
 		} while (*++edir != NULL);
 
 		if (errno == ENOENT)
-			warnx("%s not found for %s", execbase, name);
+			warnx("%s not found", execbase);
 		_exit(1);
 		/* NOTREACHED */
 

Reply via email to