kopenafs: Tidy up headers
[openafs.git] / src / kopenafs / test-unlog.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 /*
11  * Test the kopenafs unlog support.
12  */
13
14 #include <errno.h>
15 #include <stdio.h>
16
17 #include "kopenafs.h"
18
19 int
20 main(void)
21 {
22     int status;
23
24     if (k_hasafs()) {
25         printf("Running k_unlog\n");
26         status = k_unlog();
27         printf("Status: %d, errno: %d\n", status, errno);
28     } else {
29         printf("AFS apparently not running\n");
30     }
31 }