Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs Unbreak modules build.
details: https://anonhg.NetBSD.org/src/rev/6d26f88f9de0
branches: trunk
changeset: 751213:6d26f88f9de0
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Jan 28 07:49:08 2010 +0000
description:
Unbreak modules build.
diffstat:
sys/miscfs/genfs/genfs_io.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ac64a4a9d71a -r 6d26f88f9de0 sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c Thu Jan 28 07:44:54 2010 +0000
+++ b/sys/miscfs/genfs/genfs_io.c Thu Jan 28 07:49:08 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_io.c,v 1.27 2010/01/28 07:44:54 uebayasi Exp $ */
+/* $NetBSD: genfs_io.c,v 1.28 2010/01/28 07:49:08 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.27 2010/01/28 07:44:54 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.28 2010/01/28 07:49:08 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -445,7 +445,8 @@
*/
bp = NULL;
- for (off_t offset = startoffset;
+ off_t offset;
+ for (offset = startoffset;
bytes > 0;
offset += iobytes, bytes -= iobytes) {
daddr_t lbn, blkno;
Home |
Main Index |
Thread Index |
Old Index