summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-07-11 21:46:12 +0000
committerjmallett <jmallett@FreeBSD.org>2002-07-11 21:46:12 +0000
commit356638a289cc56dfb8175bf7cfda52380dc1adc0 (patch)
tree870987b432235588ce2a809ddbffb31c97bdcef4 /sbin/dumpfs
parent3f66160d6d34bca011c415207864536f06b30193 (diff)
downloadFreeBSD-src-356638a289cc56dfb8175bf7cfda52380dc1adc0.zip
FreeBSD-src-356638a289cc56dfb8175bf7cfda52380dc1adc0.tar.gz
Remove unused variables due to libufs(3) commit. Clean up extraneous use of
semicolon at closing paren of a function body.
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r--sbin/dumpfs/dumpfs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 98b7e64..4ac7820 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -116,10 +116,9 @@ main(int argc, char *argv[])
int
dumpfs(const char *name)
{
- ssize_t n;
time_t time;
int64_t fssize;
- int c, i, j, k, size;
+ int i;
if (ufs_disk_fillout(&disk, name) == -1)
goto err;
@@ -240,7 +239,7 @@ dumpfs(const char *name)
err: ufs_disk_close(&disk);
warn("%s", name);
return (1);
-};
+}
int
dumpcg(const char *name, int fd, int c)
@@ -300,7 +299,7 @@ dumpcg(const char *name, int fd, int c)
printf("blks free:\t");
pbits(cg_blksfree(&acg), afs.fs_fpg);
return (0);
-};
+}
void
pbits(void *vp, int max)
OpenPOWER on IntegriCloud