aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsdb
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-10-31 22:07:29 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-10-31 22:07:29 +0000
commitfffbc2a5003e6381f102cf73db835acba36e7335 (patch)
treed8961fccf7c703f8fabc142cd24a277569763fcf /sbin/fsdb
parentaef8d2449b75490585fe97db0103cae08f318883 (diff)
downloadsrc-fffbc2a5003e6381f102cf73db835acba36e7335.tar.gz
src-fffbc2a5003e6381f102cf73db835acba36e7335.zip
Update after function renames.
Sponsored by: home.pl
Notes
Notes: svn path=/head/; revision=163846
Diffstat (limited to 'sbin/fsdb')
-rw-r--r--sbin/fsdb/fsdb.c4
-rw-r--r--sbin/fsdb/fsdb.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/sbin/fsdb/fsdb.c b/sbin/fsdb/fsdb.c
index 3853d295c07f..f7354e86d9cc 100644
--- a/sbin/fsdb/fsdb.c
+++ b/sbin/fsdb/fsdb.c
@@ -620,7 +620,7 @@ find_indirblks32(uint32_t blk, int ind_level, uint32_t *wantedblk)
uint32_t idblk[MAXNINDIR];
int i;
- bread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
+ blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
if (ind_level <= 0) {
if (find_blks32(idblk, sblock.fs_bsize / sizeof(uint32_t), wantedblk))
return 1;
@@ -662,7 +662,7 @@ find_indirblks64(uint64_t blk, int ind_level, uint64_t *wantedblk)
uint64_t idblk[MAXNINDIR];
int i;
- bread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
+ blread(fsreadfd, (char *)idblk, fsbtodb(&sblock, blk), (int)sblock.fs_bsize);
if (ind_level <= 0) {
if (find_blks64(idblk, sblock.fs_bsize / sizeof(uint64_t), wantedblk))
return 1;
diff --git a/sbin/fsdb/fsdb.h b/sbin/fsdb/fsdb.h
index abe1f4760ccb..ddd15153f5cb 100644
--- a/sbin/fsdb/fsdb.h
+++ b/sbin/fsdb/fsdb.h
@@ -30,8 +30,7 @@
* $FreeBSD$
*/
-extern int bread(int fd, char *buf, ufs2_daddr_t blk, long size);
-extern void bwrite(int fd, char *buf, ufs2_daddr_t blk, long size);
+extern int blread(int fd, char *buf, ufs2_daddr_t blk, long size);
extern void rwerror(const char *mesg, ufs2_daddr_t blk);
extern int reply(const char *question);