summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtree/mtree.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/mtree.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/mtree.c')
-rw-r--r--usr.sbin/mtree/mtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mtree/mtree.c b/usr.sbin/mtree/mtree.c
index b858a00..0cc9559 100644
--- a/usr.sbin/mtree/mtree.c
+++ b/usr.sbin/mtree/mtree.c
@@ -157,7 +157,7 @@ main(int argc, char *argv[])
cwalk();
exit(0);
}
- status = verify();
+ status = mtree_verifyspec(stdin);
if (Uflag & (status == MISMATCHEXIT))
status = 0;
exit(status);
OpenPOWER on IntegriCloud