amd64: declare initializecpu outside of SMP
[dragonfly.git] / test / debug / revoke.c
blobb2ab2439ab23a35d6f20b9021bece375d4984f46
1 /*
2 * cc -Wall revoke.c -o /tmp/revoke
3 */
4 #include <sys/types.h>
5 #include <sys/socket.h>
6 #include <sys/wait.h>
7 #include <sys/uio.h>
8 #include <sys/stat.h>
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <unistd.h>
12 #include <string.h>
13 #include <fcntl.h>
14 #include <errno.h>
16 int
17 main(int ac, char **av)
19 int i;
21 for (i = 1; i < ac; ++i) {
22 if (revoke(av[i]) < 0) {
23 fprintf(stderr, "revoke %s failed: %s\n",
24 av[i], strerror(errno));
27 return(0);