Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / venus / gcpags.c
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
4 *
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
9
10 #include <afsconfig.h>
11 #include <afs/param.h>
12 #include <afs/stds.h>
13
14 #include <roken.h>
15
16 #include <rx/xdr.h>
17 #include <afs/vice.h>
18 #include <afs/venus.h>
19 #undef VIRTUE
20 #undef VICE
21 #include "afs/prs_fs.h"
22 #include <afs/afsint.h>
23 #include <afs/cellconfig.h>
24 #include <afs/cmd.h>
25
26 #include "AFS_component_version_number.c"
27
28 main(argc, argv)
29 int argc;
30 char **argv;
31 {
32 afs_int32 code = 0;
33 struct ViceIoctl blob;
34
35 blob.in = 0;
36 blob.out = 0;
37 blob.in_size = 0;
38 blob.out_size = 0;
39 code = pioctl(0, VIOC_GCPAGS, &blob, 1);
40 if (code)
41 perror("disable gcpags failed");
42
43 exit(code);
44 }