summaryrefslogtreecommitdiff
path: root/sbin/tunefs
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-06-10 19:15:08 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-06-10 19:15:08 +0000
commit7c2e19150b0903ead383ebae90ef36c8b9b10b91 (patch)
tree5f828890ceebc56c74c5c2da13d37bb92aa14ed5 /sbin/tunefs
parent011f4931f875747c9168df78238a617b01384145 (diff)
daddr_t -> daddr64_t
Diffstat (limited to 'sbin/tunefs')
-rw-r--r--sbin/tunefs/tunefs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index b0735fe519c..6c524d19e3f 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -81,8 +81,8 @@ off_t sblockloc;
static off_t sblock_try[] = SBLOCKSEARCH;
-static void bwrite(daddr_t, char *, int, const char *);
-static void bread(daddr_t, char *, int, const char *);
+static void bwrite(daddr64_t, char *, int, const char *);
+static void bread(daddr64_t, char *, int, const char *);
static int getnum(const char *, const char *, int, int);
static void getsb(struct fs *, const char *);
static int openpartition(const char *, int, char *, size_t);
@@ -308,7 +308,7 @@ getsb(struct fs *fs, const char *file)
}
static void
-bwrite(daddr_t blk, char *buffer, int size, const char *file)
+bwrite(daddr64_t blk, char *buffer, int size, const char *file)
{
off_t offset;
@@ -320,7 +320,7 @@ bwrite(daddr_t blk, char *buffer, int size, const char *file)
}
static void
-bread(daddr_t blk, char *buffer, int cnt, const char *file)
+bread(daddr64_t blk, char *buffer, int cnt, const char *file)
{
off_t offset;
int i;