aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-06-15 01:27:07 -0400
committerRuss Cox <rsc@swtch.com>2008-06-15 01:27:07 -0400
commit4395d738f4f5a3a477e2a3a24b927e8a24ef4cc0 (patch)
tree3b329d41f5a4e5305e8edbac56ce70cac159eead /src/cmd/vac
parent003c13aa185cebc8797b8b04e8bd0722643467aa (diff)
downloadplan9port-4395d738f4f5a3a477e2a3a24b927e8a24ef4cc0.tar.gz
plan9port-4395d738f4f5a3a477e2a3a24b927e8a24ef4cc0.tar.bz2
plan9port-4395d738f4f5a3a477e2a3a24b927e8a24ef4cc0.zip
vac: fix usage, more #ifdef PLAN9PORT
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/vac.c4
1 files changed, 3 insertions, 1 deletions
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)
{