Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount_msdos Mount from canon_dev instead of dev.



details:   https://anonhg.NetBSD.org/src/rev/40d6fd2b8a4f
branches:  trunk
changeset: 747978:40d6fd2b8a4f
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Oct 07 20:34:02 2009 +0000

description:
Mount from canon_dev instead of dev.

diffstat:

 sbin/mount_msdos/mount_msdos.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 83590d5d8092 -r 40d6fd2b8a4f sbin/mount_msdos/mount_msdos.c
--- a/sbin/mount_msdos/mount_msdos.c    Wed Oct 07 20:11:05 2009 +0000
+++ b/sbin/mount_msdos/mount_msdos.c    Wed Oct 07 20:34:02 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_msdos.c,v 1.46 2008/08/05 20:57:45 pooka Exp $ */
+/* $NetBSD: mount_msdos.c,v 1.47 2009/10/07 20:34:02 pooka Exp $ */
 
 /*
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mount_msdos.c,v 1.46 2008/08/05 20:57:45 pooka Exp $");
+__RCSID("$NetBSD: mount_msdos.c,v 1.47 2009/10/07 20:34:02 pooka Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -158,7 +158,7 @@
        pathadj(dev, canon_dev);
        pathadj(dir, canon_dir);
 
-       args->fspec = dev;
+       args->fspec = canon_dev;
        if (!set_gid || !set_uid || !set_mask) {
                if (stat(dir, &sb) == -1)
                        err(1, "stat %s", dir);



Home | Main Index | Thread Index | Old Index