[BACK]Return to tcfsrmkey.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tcfs

Diff for /src/usr.bin/tcfs/Attic/tcfsrmkey.c between version 1.5 and 1.6

version 1.5, 2000/06/20 01:29:14 version 1.6, 2000/06/20 08:59:53
Line 36 
Line 36 
 rmkey_main(int argc, char *argv[])  rmkey_main(int argc, char *argv[])
 {  {
         uid_t uid;          uid_t uid;
         gid_t gid;          gid_t gid = 0;
         int es;          int es = 0;
         char x;          char x;
         char fslabel[MAXPATHLEN], fspath[MAXPATHLEN];          char fslabel[MAXPATHLEN], fspath[MAXPATHLEN];
         int havempname = FALSE, havefsname = FALSE, isgroupkey = FALSE;          int havempname = FALSE, havefsname = FALSE, isgroupkey = FALSE;
Line 73 
Line 73 
         if (argc-optind)          if (argc-optind)
                 tcfs_error(ER_UNKOPT, NULL);                  tcfs_error(ER_UNKOPT, NULL);
   
         if (havefsname && havempname) {          if (havefsname && havempname)
                 tcfs_error(ER_CUSTOM, rmkey_usage);                  tcfs_error(ER_CUSTOM, rmkey_usage);
                 exit(1);  
         }  
   
         if (havefsname) {          if (havefsname) {
                 es = tcfs_getfspath(fslabel, fspath);                  es = tcfs_getfspath(fslabel, fspath);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6