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

Diff for /src/usr.bin/tcfs/Attic/tcfserrors.c between version 1.2 and 1.3

version 1.2, 2000/06/18 22:31:02 version 1.3, 2000/06/19 20:25:30
Line 14 
Line 14 
 #include <unistd.h>  #include <unistd.h>
 #include "tcfserrors.h"  #include "tcfserrors.h"
   
   static char *tcfs_errors_strings[]=
   {
           "Ok",
           NULL,
           "unknow option.",
           "authentication error.",
           "out of memory.",
           "you do not have a TCFS key.",
           "Who are you?!",
           "ioctl error while setting permanent flag.",
           "ioctl error while sending.",
           "ioctl error while removing key.",
           "ioctl error while getting key counter."
   };
   
 void tcfs_error (int error_type, char *custom_message)  void tcfs_error (int error_type, char *custom_message)
 {  {
         if (error_type!=ER_CUSTOM && error_type!=OK)          if (error_type!=ER_CUSTOM && error_type!=OK)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3