Module Name:    src
Committed By:   wiz
Date:           Tue Jan 23 15:02:03 UTC 2018

Modified Files:
        src/sbin/mount_autofs: mount_autofs.c mount_autofs.h

Log Message:
Fix typos.

XXX: does not compile for me because of constness issues


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/mount_autofs/mount_autofs.c
cvs rdiff -u -r1.1 -r1.2 src/sbin/mount_autofs/mount_autofs.h

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_autofs/mount_autofs.c
diff -u src/sbin/mount_autofs/mount_autofs.c:1.2 src/sbin/mount_autofs/mount_autofs.c:1.3
--- src/sbin/mount_autofs/mount_autofs.c:1.2	Mon Jan 22 10:41:18 2018
+++ src/sbin/mount_autofs/mount_autofs.c	Tue Jan 23 15:02:03 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: mount_autofs.c,v 1.2 2018/01/22 10:41:18 wiz Exp $	*/
+/*	$NetBSD: mount_autofs.c,v 1.3 2018/01/23 15:02:03 wiz Exp $	*/
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mount_autofs.c,v 1.2 2018/01/22 10:41:18 wiz Exp $");
+__RCSID("$NetBSD: mount_autofs.c,v 1.3 2018/01/23 15:02:03 wiz Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -127,7 +127,7 @@ mount_autofs(int argc, char *argv[])
 	mount_autofs_parseargs(argc, argv, &am, &mntflags,
 	    canon_dev, canon_dir);
 	if (mount(MOUNT_KERNFS, canon_dir, mntflags, &am, sizeof(am)) == -1)
-		err(EXIT_FAILURE, "kernfs on %s", canon_dir);
+		err(EXIT_FAILURE, "autofs on %s", canon_dir);
         if (mntflags & MNT_GETARGS) {
 		printf("from=%s, master_options=%s, master_prefix=%s\n",
 		    am.from, am.master_options, am.master_prefix);

Index: src/sbin/mount_autofs/mount_autofs.h
diff -u src/sbin/mount_autofs/mount_autofs.h:1.1 src/sbin/mount_autofs/mount_autofs.h:1.2
--- src/sbin/mount_autofs/mount_autofs.h:1.1	Sun Jan 14 22:44:04 2018
+++ src/sbin/mount_autofs/mount_autofs.h	Tue Jan 23 15:02:03 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: mount_autofs.h,v 1.1 2018/01/14 22:44:04 christos Exp $	*/
+/*	$NetBSD: mount_autofs.h,v 1.2 2018/01/23 15:02:03 wiz Exp $	*/
 
 /*
  * Copyright (c) 2008 The NetBSD Foundation.  All Rights Reserved.
@@ -28,7 +28,7 @@
 #ifndef _SBIN_MOUNT_AUTOFS_MOUNT_AUTOFS_H_
 #define _SBIN_MOUNT_AUTOFS_MOUNT_AUTOFS_H_
 
-int	mount_kernfs(int, char **);
+int	mount_autofs(int, char **);
 void	mount_autofs_parseargs(int, char **, void *, int *, char *, char *);
 
 #endif /* _SBIN_MOUNT_AUTOFS_MOUNT_AUTOFS_H_ */

Reply via email to