Module Name:    src
Committed By:   christos
Date:           Tue Jan 29 19:45:47 UTC 2013

Modified Files:
        src/usr.sbin/makefs/msdos: msdosfs_vnops.c

Log Message:
workaround for gcc/vax


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/makefs/msdos/msdosfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/makefs/msdos/msdosfs_vnops.c
diff -u src/usr.sbin/makefs/msdos/msdosfs_vnops.c:1.13 src/usr.sbin/makefs/msdos/msdosfs_vnops.c:1.14
--- src/usr.sbin/makefs/msdos/msdosfs_vnops.c:1.13	Sun Jan 27 19:16:48 2013
+++ src/usr.sbin/makefs/msdos/msdosfs_vnops.c	Tue Jan 29 14:45:47 2013
@@ -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 @@ msdosfs_wfile(const char *path, struct d
 	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)

Reply via email to