Home | History | Annotate | Line # | Download | only in revoke
revoke.c revision 1.1
      1 /* $NetBSD: revoke.c,v 1.1 2006/10/07 08:48:03 elad Exp $ */
      2 
      3 #include <sys/types.h>
      4 #include <stdio.h>
      5 #include <stdlib.h>
      6 #include <unistd.h>
      7 #include <err.h>
      8 
      9 int
     10 main(int argc, char *argv[])
     11 {
     12        if (argc != 2)
     13 		errx(EXIT_FAILURE, "usage: %s <file>", getprogname());
     14 
     15        if (revoke(argv[1]) != 0)
     16                err(EXIT_FAILURE, "revoke(%s)", argv[1]);
     17 
     18        return EXIT_SUCCESS;
     19 }
     20