summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/verify.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-11-05 20:07:40 +0000
committerphk <phk@FreeBSD.org>2003-11-05 20:07:40 +0000
commitc1f70887cd98e91b587bcd5c639ecb6d38c0c902 (patch)
tree012791d93bb5e7802665c0e4177bdb06d01ded9c /usr.sbin/mtree/verify.c
parenta88a9d9e80a3590a9fbb80c7d4e9a6ad34e6bbe5 (diff)
downloadFreeBSD-src-c1f70887cd98e91b587bcd5c639ecb6d38c0c902.zip
FreeBSD-src-c1f70887cd98e91b587bcd5c639ecb6d38c0c902.tar.gz
Rename spec() and verify() functions to have mtree_ prefix and take
explicit file descriptor instead of assuming stdin.
Diffstat (limited to 'usr.sbin/mtree/verify.c')
-rw-r--r--usr.sbin/mtree/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mtree/verify.c b/usr.sbin/mtree/verify.c
index c95de38..3f697f6 100644
--- a/usr.sbin/mtree/verify.c
+++ b/usr.sbin/mtree/verify.c
@@ -59,11 +59,11 @@ static void miss(NODE *, char *);
static int vwalk(void);
int
-verify(void)
+mtree_verifyspec(FILE *fi)
{
int rval;
- root = spec();
+ root = mtree_readspec(fi);
rval = vwalk();
miss(root, path);
return (rval);
OpenPOWER on IntegriCloud