Remove unused variables due to libufs(3) commit. Clean up extraneous use of
semicolon at closing paren of a function body.
This commit is contained in:
parent
3f66160d6d
commit
356638a289
@ -116,10 +116,9 @@ main(int argc, char *argv[])
|
|||||||
int
|
int
|
||||||
dumpfs(const char *name)
|
dumpfs(const char *name)
|
||||||
{
|
{
|
||||||
ssize_t n;
|
|
||||||
time_t time;
|
time_t time;
|
||||||
int64_t fssize;
|
int64_t fssize;
|
||||||
int c, i, j, k, size;
|
int i;
|
||||||
|
|
||||||
if (ufs_disk_fillout(&disk, name) == -1)
|
if (ufs_disk_fillout(&disk, name) == -1)
|
||||||
goto err;
|
goto err;
|
||||||
@ -240,7 +239,7 @@ dumpfs(const char *name)
|
|||||||
err: ufs_disk_close(&disk);
|
err: ufs_disk_close(&disk);
|
||||||
warn("%s", name);
|
warn("%s", name);
|
||||||
return (1);
|
return (1);
|
||||||
};
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
dumpcg(const char *name, int fd, int c)
|
dumpcg(const char *name, int fd, int c)
|
||||||
@ -300,7 +299,7 @@ dumpcg(const char *name, int fd, int c)
|
|||||||
printf("blks free:\t");
|
printf("blks free:\t");
|
||||||
pbits(cg_blksfree(&acg), afs.fs_fpg);
|
pbits(cg_blksfree(&acg), afs.fs_fpg);
|
||||||
return (0);
|
return (0);
|
||||||
};
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
pbits(void *vp, int max)
|
pbits(void *vp, int max)
|
||||||
|
Loading…
Reference in New Issue
Block a user