Source-Changes-HG archive

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

[src/trunk]: src/sbin/mount_ntfs Set fspec to canon_dev instead of dev.



details:   https://anonhg.NetBSD.org/src/rev/e360be5c0a8a
branches:  trunk
changeset: 747425:e360be5c0a8a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Sep 14 12:43:46 2009 +0000

description:
Set fspec to canon_dev instead of dev.

diffstat:

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

diffs (27 lines):

diff -r ee2f39e5d3d9 -r e360be5c0a8a sbin/mount_ntfs/mount_ntfs.c
--- a/sbin/mount_ntfs/mount_ntfs.c      Mon Sep 14 12:37:08 2009 +0000
+++ b/sbin/mount_ntfs/mount_ntfs.c      Mon Sep 14 12:43:46 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount_ntfs.c,v 1.21 2008/08/05 20:57:45 pooka Exp $ */
+/* $NetBSD: mount_ntfs.c,v 1.22 2009/09/14 12:43:46 pooka Exp $ */
 
 /*
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: mount_ntfs.c,v 1.21 2008/08/05 20:57:45 pooka Exp $");
+__RCSID("$NetBSD: mount_ntfs.c,v 1.22 2009/09/14 12:43:46 pooka Exp $");
 #endif
 
 #include <sys/param.h>
@@ -130,7 +130,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(EX_OSERR, "stat %s", dir);



Home | Main Index | Thread Index | Old Index