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

Diff for /src/usr.bin/doas/doas.c between version 1.2 and 1.3

version 1.2, 2015/07/16 21:00:59 version 1.3, 2015/07/16 21:55:03
Line 223 
Line 223 
 static void __dead  static void __dead
 fail(void)  fail(void)
 {  {
         const char *msgs[] = {          fprintf(stderr, "Permission denied\n");
                 "No lollygagging!",  
                 "Better luck next time.",  
                 "PEBKAC detected.",  
                 "That's what happens when you're lazy.",  
                 "It is clear that this has not been thought through.",  
                 "That's the most ridiculous thing I've heard in the last two or three minutes!",  
                 "No sane people allowed here.  Go home.",  
                 "I would explain, but I am too drunk.",  
                 "You're not allowed to have an opinion.",  
                 "Complaint forms are handled in another department.",  
         };  
         const char *m;  
   
         m = msgs[arc4random_uniform(sizeof(msgs) / sizeof(msgs[0]))];  
         fprintf(stderr, "%s\n", m);  
         exit(1);          exit(1);
 }  }
   

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