Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs/msdos workaround for gcc/vax
details: https://anonhg.NetBSD.org/src/rev/7395ba002734
branches: trunk
changeset: 784488:7395ba002734
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 29 19:45:47 2013 +0000
description:
workaround for gcc/vax
diffstat:
usr.sbin/makefs/msdos/msdosfs_vnops.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 3b61abba3abf -r 7395ba002734 usr.sbin/makefs/msdos/msdosfs_vnops.c
--- a/usr.sbin/makefs/msdos/msdosfs_vnops.c Tue Jan 29 19:27:36 2013 +0000
+++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c Tue Jan 29 19:45:47 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vnops.c,v 1.13 2013/01/28 00:16:48 christos Exp $ */
+/* $NetBSD: msdosfs_vnops.c,v 1.14 2013/01/29 19:45:47 christos Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -51,7 +51,7 @@
#endif
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.13 2013/01/28 00:16:48 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.14 2013/01/29 19:45:47 christos Exp $");
#include <sys/param.h>
#include <sys/mman.h>
@@ -426,6 +426,7 @@
char *dat;
u_long cn = 0;
+ error = 0; /* XXX: gcc/vax */
DPRINTF(("%s(diroff %lu, dirclust %lu, startcluster %lu)\n", __func__,
dep->de_diroffset, dep->de_dirclust, dep->de_StartCluster));
if (st->st_size == 0)
Home |
Main Index |
Thread Index |
Old Index