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 <afs/param.h>
14 #include <afsconfig.h>
18 #define VICE /* allow us to put our changes in at will */
21 #include <sys/param.h>
27 #include <sys/mount.h>
30 #endif /* AFS_SUN_ENV */
35 #include <sys/vnode.h>
36 #include <sys/mount.h>
37 #include <ufs/inode.h>
44 #else /* AFS_OSF_ENV */
45 #ifdef AFS_VFSINCL_ENV
47 #include <sys/vnode.h>
51 #include <sys/fs/ufs_inode.h>
52 #include <sys/fs/ufs_fs.h>
54 #include <sys/fs/ufs_fsdir.h>
56 #include <sys/fs/ufs_mount.h>
58 #include <ufs/inode.h>
61 #include <ufs/fsdir.h>
64 #else /* AFS_VFSINCL_ENV */
66 #include <sys/inode.h>
69 #define LONGFILENAMES 1
70 #include <sys/sysmacros.h>
80 #endif /* AFS_VFSINCL_ENV */
81 #endif /* AFS_OSF_ENV */
94 /* Vice printf: lob the message into /vice/file/vfsck.log if it isn't the root */
95 /* If we're salvaging the root, it wouldn't be such a good idea to lob stuff there */
96 vfscklogprintf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
98 long a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
100 printf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
102 fprintf(logfile, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);