From 984d40a72f51f5b172b691375704c2ccd3262bf2 Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 26 May 1994 06:53:36 +0000 Subject: [PATCH] pass a daddr_t rather than an off_t; forgot to commit last week. --- sbin/quotacheck/quotacheck.c | 4 ++-- usr.sbin/quotacheck/quotacheck.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c index 8e028c1ba519..ae5104ba2775 100644 --- a/sbin/quotacheck/quotacheck.c +++ b/sbin/quotacheck/quotacheck.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)quotacheck.c 5.16 (Berkeley) 2/28/91";*/ -static char rcsid[] = "$Id: quotacheck.c,v 1.3 1993/08/01 18:25:41 mycroft Exp $"; +static char rcsid[] = "$Id: quotacheck.c,v 1.4 1994/05/26 06:53:36 cgd Exp $"; #endif /* not lint */ /* @@ -246,7 +246,7 @@ chkquota(fsname, mntpt, qnp) } sync(); dev_bsize = 1; - bread(SBOFF, (char *)&sblock, (long)SBSIZE); + bread((daddr_t)SBOFF, (char *)&sblock, (long)SBSIZE); dev_bsize = sblock.fs_fsize / fsbtodb(&sblock, 1); maxino = sblock.fs_ncg * sblock.fs_ipg; resetinodebuf(); diff --git a/usr.sbin/quotacheck/quotacheck.c b/usr.sbin/quotacheck/quotacheck.c index 8e028c1ba519..ae5104ba2775 100644 --- a/usr.sbin/quotacheck/quotacheck.c +++ b/usr.sbin/quotacheck/quotacheck.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)quotacheck.c 5.16 (Berkeley) 2/28/91";*/ -static char rcsid[] = "$Id: quotacheck.c,v 1.3 1993/08/01 18:25:41 mycroft Exp $"; +static char rcsid[] = "$Id: quotacheck.c,v 1.4 1994/05/26 06:53:36 cgd Exp $"; #endif /* not lint */ /* @@ -246,7 +246,7 @@ chkquota(fsname, mntpt, qnp) } sync(); dev_bsize = 1; - bread(SBOFF, (char *)&sblock, (long)SBSIZE); + bread((daddr_t)SBOFF, (char *)&sblock, (long)SBSIZE); dev_bsize = sblock.fs_fsize / fsbtodb(&sblock, 1); maxino = sblock.fs_ncg * sblock.fs_ipg; resetinodebuf();