tvac: fix usage, more #ifdef PLAN9PORT - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4395d738f4f5a3a477e2a3a24b927e8a24ef4cc0
 (DIR) parent 003c13aa185cebc8797b8b04e8bd0722643467aa
 (HTM) Author: Russ Cox <rsc@swtch.com>
       Date:   Sun, 15 Jun 2008 01:27:07 -0400
       
       vac: fix usage, more #ifdef PLAN9PORT
       
       Diffstat:
         M src/cmd/vac/vac.c                   |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
       t@@ -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");
        }
        
       t@@ -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 
       t@@ -59,6 +60,7 @@ static void removevacfile(void);
        extern int _p9usepwlibrary;
        int mainstacksize = 4*1024*1024;
        
       +#endif
        void
        threadmain(int argc, char **argv)
        {