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

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

version 1.5, 2000/06/20 07:09:45 version 1.6, 2000/06/20 07:58:57
Line 12 
Line 12 
  *      Base utility set v0.1   *      Base utility set v0.1
  */   */
   
   #include <fstab.h>
 #include <stdio.h>  #include <stdio.h>
 #include <strings.h>  
 #include <stdlib.h>  #include <stdlib.h>
 #include <fstab.h>  #include <strings.h>
   
 #include <miscfs/tcfs/tcfs.h>  #include <miscfs/tcfs/tcfs.h>
 #include "tcfslib.h"  #include "tcfslib.h"
Line 30 
Line 30 
         if (tcfs_get_label(label, NULL, &ciphernum))          if (tcfs_get_label(label, NULL, &ciphernum))
                 return (ciphernum);                  return (ciphernum);
   
         return (-1);          return (-1);
 }  }
   
 int  int
Line 79 
Line 79 
                                 break;                                  break;
   
                         if (path) {                          if (path) {
                                 strcpy(path, mountpoint);                                  strlcpy(path, mountpoint, sizeof(*path));
                                 found = 1;                                  found = 1;
                         }                          }
   

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