2 * Copyright 2000, International Business Machines Corporation and others.
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
10 /* I don't really need all thes, but I can't tell which ones I need
13 #include <afsconfig.h>
14 #include <afs/param.h>
17 #define VICE /* allow us to put our changes in at will */
20 #include <sys/param.h>
26 #include <sys/mount.h>
29 #endif /* AFS_SUN_ENV */
34 #include <sys/vnode.h>
35 #include <sys/mount.h>
36 #include <ufs/inode.h>
43 #else /* AFS_OSF_ENV */
44 #ifdef AFS_VFSINCL_ENV
46 #include <sys/vnode.h>
50 #include <sys/fs/ufs_inode.h>
51 #include <sys/fs/ufs_fs.h>
53 #include <sys/fs/ufs_fsdir.h>
55 #include <sys/fs/ufs_mount.h>
57 #include <ufs/inode.h>
60 #include <ufs/fsdir.h>
63 #else /* AFS_VFSINCL_ENV */
65 #include <sys/inode.h>
68 #define LONGFILENAMES 1
69 #include <sys/sysmacros.h>
72 #ifdef HAVE_USR_OLD_USR_INCLUDE_NDIR_H
73 #include </usr/old/usr/include/ndir.h>
83 #endif /* AFS_VFSINCL_ENV */
84 #endif /* AFS_OSF_ENV */
97 /* Vice printf: lob the message into /vice/file/vfsck.log if it isn't the root */
98 /* If we're salvaging the root, it wouldn't be such a good idea to lob stuff there */
99 vfscklogprintf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
101 long a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
103 printf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
105 fprintf(logfile, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);