Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ntfs fix pointer/structure mismatch in some dprintf's
details: https://anonhg.NetBSD.org/src/rev/2a0d7cb73912
branches: trunk
changeset: 513393:2a0d7cb73912
user: joda <joda%NetBSD.org@localhost>
date: Mon Jul 30 13:10:30 2001 +0000
description:
fix pointer/structure mismatch in some dprintf's
diffstat:
sys/ntfs/ntfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 9d4cafd19bf2 -r 2a0d7cb73912 sys/ntfs/ntfs_vnops.c
--- a/sys/ntfs/ntfs_vnops.c Mon Jul 30 12:19:04 2001 +0000
+++ b/sys/ntfs/ntfs_vnops.c Mon Jul 30 13:10:30 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs_vnops.c,v 1.35 2001/06/26 09:36:06 jdolecek Exp $ */
+/* $NetBSD: ntfs_vnops.c,v 1.36 2001/07/30 13:10:30 joda Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -655,13 +655,13 @@
}
*fname = '\0';
dprintf(("ntfs_readdir: elem: %d, fname:[%s] type: %d, flag: %d, ",
- num, cde.d_name, iep->ie_fnametype,
+ num, cde->d_name, iep->ie_fnametype,
iep->ie_flag));
cde->d_namlen = fname - (char *) cde->d_name;
cde->d_fileno = iep->ie_number;
cde->d_type = (iep->ie_fflag & NTFS_FFLAG_DIR) ? DT_DIR : DT_REG;
cde->d_reclen = sizeof(struct dirent);
- dprintf(("%s\n", (cde.d_type == DT_DIR) ? "dir":"reg"));
+ dprintf(("%s\n", (cde->d_type == DT_DIR) ? "dir":"reg"));
error = uiomove((void *)cde, sizeof(struct dirent), uio);
if (error)
Home |
Main Index |
Thread Index |
Old Index