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 /* We need the old directory type headers (included below), so don't include
18 * the normal dirent.h, or it will conflict. */
20 # include <sys/inode.h>
21 # define LONGFILENAMES 1
22 # include <sys/sysmacros.h>
25 # ifdef HAVE_USR_OLD_USR_INCLUDE_NDIR_H
26 # include </usr/old/usr/include/ndir.h>
36 #define VICE /* allow us to put our changes in at will */
41 #include <sys/mount.h>
44 #endif /* AFS_SUN_ENV */
49 #include <sys/vnode.h>
50 #include <sys/mount.h>
51 #include <ufs/inode.h>
58 #else /* AFS_OSF_ENV */
59 #ifdef AFS_VFSINCL_ENV
61 #include <sys/vnode.h>
63 #include <sys/fs/ufs_inode.h>
64 #include <sys/fs/ufs_fs.h>
66 #include <sys/fs/ufs_fsdir.h>
68 #include <sys/fs/ufs_mount.h>
70 #include <ufs/inode.h>
73 #include <ufs/fsdir.h>
76 #else /* AFS_VFSINCL_ENV */
78 #include <sys/inode.h>
85 #endif /* AFS_VFSINCL_ENV */
86 #endif /* AFS_OSF_ENV */
91 /* Vice printf: lob the message into /vice/file/vfsck.log if it isn't the root */
92 /* If we're salvaging the root, it wouldn't be such a good idea to lob stuff there */
93 vfscklogprintf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
95 long a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
97 printf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
99 fprintf(logfile, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);