Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mount_autofs Fix typos.
details: https://anonhg.NetBSD.org/src/rev/e417de8d232a
branches: trunk
changeset: 358945:e417de8d232a
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jan 23 15:02:03 2018 +0000
description:
Fix typos.
XXX: does not compile for me because of constness issues
diffstat:
sbin/mount_autofs/mount_autofs.c | 6 +++---
sbin/mount_autofs/mount_autofs.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 3f8bf80b88e0 -r e417de8d232a sbin/mount_autofs/mount_autofs.c
--- a/sbin/mount_autofs/mount_autofs.c Tue Jan 23 14:58:46 2018 +0000
+++ b/sbin/mount_autofs/mount_autofs.c Tue Jan 23 15:02:03 2018 +0000
@@ -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_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);
diff -r 3f8bf80b88e0 -r e417de8d232a sbin/mount_autofs/mount_autofs.h
--- a/sbin/mount_autofs/mount_autofs.h Tue Jan 23 14:58:46 2018 +0000
+++ b/sbin/mount_autofs/mount_autofs.h Tue Jan 23 15:02:03 2018 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index