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>
20 #define VICE /* allow us to put our changes in at will */
25 #include <sys/mount.h>
28 #endif /* AFS_SUN_ENV */
33 #include <sys/vnode.h>
34 #include <sys/mount.h>
35 #include <ufs/inode.h>
42 #else /* AFS_OSF_ENV */
43 #ifdef AFS_VFSINCL_ENV
45 #include <sys/vnode.h>
47 #include <sys/fs/ufs_inode.h>
48 #include <sys/fs/ufs_fs.h>
50 #include <sys/fs/ufs_fsdir.h>
52 #include <sys/fs/ufs_mount.h>
54 #include <ufs/inode.h>
57 #include <ufs/fsdir.h>
60 #else /* AFS_VFSINCL_ENV */
62 #include <sys/inode.h>
64 #define LONGFILENAMES 1
65 #include <sys/sysmacros.h>
68 #ifdef HAVE_USR_OLD_USR_INCLUDE_NDIR_H
69 #include </usr/old/usr/include/ndir.h>
79 #endif /* AFS_VFSINCL_ENV */
80 #endif /* AFS_OSF_ENV */
85 /* Vice printf: lob the message into /vice/file/vfsck.log if it isn't the root */
86 /* If we're salvaging the root, it wouldn't be such a good idea to lob stuff there */
87 vfscklogprintf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
89 long a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
91 printf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
93 fprintf(logfile, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);