Module Name:    src
Committed By:   pooka
Date:           Mon Sep 14 12:43:46 UTC 2009

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

Log Message:
Set fspec to canon_dev instead of dev.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sbin/mount_ntfs/mount_ntfs.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_ntfs/mount_ntfs.c
diff -u src/sbin/mount_ntfs/mount_ntfs.c:1.21 src/sbin/mount_ntfs/mount_ntfs.c:1.22
--- src/sbin/mount_ntfs/mount_ntfs.c:1.21	Tue Aug  5 20:57:45 2008
+++ src/sbin/mount_ntfs/mount_ntfs.c	Mon Sep 14 12:43:46 2009
@@ -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);

Reply via email to