summaryrefslogtreecommitdiff
path: root/sbin/scan_ffs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
commit6b46236c83f9aa5b9cd59b466eeba348ee23825a (patch)
treeef7eca8601ed03d00b5a9a53b3355f66ed478486 /sbin/scan_ffs
parentcc20036a151815396b8c4285e8b3b56f0172f1d5 (diff)
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out. ok otto beck others
Diffstat (limited to 'sbin/scan_ffs')
-rw-r--r--sbin/scan_ffs/scan_ffs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/scan_ffs/scan_ffs.c b/sbin/scan_ffs/scan_ffs.c
index 11f9a7505af..f490ed0c3e2 100644
--- a/sbin/scan_ffs/scan_ffs.c
+++ b/sbin/scan_ffs/scan_ffs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scan_ffs.c,v 1.15 2013/04/02 05:22:04 deraadt Exp $ */
+/* $OpenBSD: scan_ffs.c,v 1.16 2013/06/11 16:42:05 deraadt Exp $ */
/*
* Copyright (c) 1998 Niklas Hallqvist, Tobias Weingartner
@@ -47,12 +47,12 @@
static void usage(void);
static int
-ufsscan(int fd, daddr64_t beg, daddr64_t end, int flags)
+ufsscan(int fd, daddr_t beg, daddr_t end, int flags)
{
static char lastmount[MAXMNTLEN];
static u_int8_t buf[SBSIZE * SBCOUNT];
struct fs *sb;
- daddr64_t blk, lastblk;
+ daddr_t blk, lastblk;
int n;
lastblk = -1;
@@ -132,7 +132,7 @@ int
main(int argc, char *argv[])
{
int ch, fd, flags = 0;
- daddr64_t beg = 0, end = -1;
+ daddr_t beg = 0, end = -1;
const char *errstr;
while ((ch = getopt(argc, argv, "lsvb:e:")) != -1)