Module Name: src
Committed By: pooka
Date: Wed Oct 7 20:34:02 UTC 2009
Modified Files:
src/sbin/mount_msdos: mount_msdos.c
Log Message:
Mount from canon_dev instead of dev.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sbin/mount_msdos/mount_msdos.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_msdos/mount_msdos.c
diff -u src/sbin/mount_msdos/mount_msdos.c:1.46 src/sbin/mount_msdos/mount_msdos.c:1.47
--- src/sbin/mount_msdos/mount_msdos.c:1.46 Tue Aug 5 20:57:45 2008
+++ src/sbin/mount_msdos/mount_msdos.c Wed Oct 7 20:34:02 2009
@@ -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);