summaryrefslogtreecommitdiff
path: root/libdiskfs/io-write.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-04-12 19:43:43 +0000
committerRoland McGrath <roland@gnu.org>2001-04-12 19:43:43 +0000
commit87c5d79fd7f962293e5708b8335f8070f3e514ff (patch)
tree7e0b2ec611ef17ce4f9de1a374e233223bb052a8 /libdiskfs/io-write.c
parentbaa50c267be2bed67eb47e848ae8431625bf3be2 (diff)
2001-04-08 Neal H Walfield <neal@cs.uml.edu>
* io-write.c (diskfs_S_io_write): Make local variable OFF an off_t and not an int. * io-read.c (diskfs_S_io_read): Likewise. * io-stat.c (diskfs_S_io_stat): Use memcpy, not bcopy.
Diffstat (limited to 'libdiskfs/io-write.c')
-rw-r--r--libdiskfs/io-write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/io-write.c b/libdiskfs/io-write.c
index adbfc6d5..a3c4199e 100644
--- a/libdiskfs/io-write.c
+++ b/libdiskfs/io-write.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1994,95,96,97,2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -29,7 +29,7 @@ diskfs_S_io_write (struct protid *cred,
{
struct node *np;
error_t err;
- int off = offset;
+ off_t off = offset;
if (!cred)
return EOPNOTSUPP;