From 4395d738f4f5a3a477e2a3a24b927e8a24ef4cc0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 15 Jun 2008 01:27:07 -0400 Subject: vac: fix usage, more #ifdef PLAN9PORT --- src/cmd/vac/vac.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index c1508549..6716aa1d 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -8,7 +8,7 @@ void usage(void) { - fprint(2, "usage: vac [-b blocksize] [-h host] file...\n"); + fprint(2, "vac [-imqsv] [-b bsize] [-d old.vac] [-e exclude]... [-f new.vac] [-h host] file...\n"); threadexitsall("usage"); } @@ -46,6 +46,7 @@ static void warn(char *fmt, ...); static int strpcmp(const void*, const void*); static void removevacfile(void); +#ifdef PLAN9PORT /* * We're between a rock and a hard place here. * The pw library (getpwnam, etc.) reads the @@ -59,6 +60,7 @@ static void removevacfile(void); extern int _p9usepwlibrary; int mainstacksize = 4*1024*1024; +#endif void threadmain(int argc, char **argv) { -- cgit v1.2.3