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 undo c99
details: https://anonhg.NetBSD.org/src/rev/88955a9e1dd3
branches: trunk
changeset: 784404:88955a9e1dd3
user: christos <christos%NetBSD.org@localhost>
date: Sun Jan 27 22:09:24 2013 +0000
description:
undo c99
diffstat:
usr.sbin/makefs/msdos/msdosfs_vnops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 2dbf70c3651b -r 88955a9e1dd3 usr.sbin/makefs/msdos/msdosfs_vnops.c
--- a/usr.sbin/makefs/msdos/msdosfs_vnops.c Sun Jan 27 22:07:19 2013 +0000
+++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c Sun Jan 27 22:09:24 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vnops.c,v 1.10 2013/01/27 22:07:19 christos Exp $ */
+/* $NetBSD: msdosfs_vnops.c,v 1.11 2013/01/27 22:09:24 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.10 2013/01/27 22:07:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_vnops.c,v 1.11 2013/01/27 22:09:24 christos Exp $");
#include <sys/param.h>
#include <sys/mman.h>
@@ -419,7 +419,7 @@
int error, fd;
size_t osize = dep->de_FileSize;
struct stat *st = &node->inode->st;
- size_t nsize;
+ size_t nsize, offs;
struct msdosfsmount *pmp = dep->de_pmp;
struct buf *bp;
char *dat;
@@ -460,7 +460,7 @@
}
close(fd);
- for (size_t offs = 0; offs < nsize;) {
+ for (offs = 0; offs < nsize;) {
int blsize, cpsize;
daddr_t bn;
u_long lbn = dep->de_StartCluster;
Home |
Main Index |
Thread Index |
Old Index