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>
19 #define VICE /* allow us to put our changes in at will */
22 #include <sys/param.h>
28 #include <sys/mount.h>
31 #endif /* AFS_SUN_ENV */
36 #include <sys/vnode.h>
37 #include <sys/mount.h>
38 #include <ufs/inode.h>
45 #else /* AFS_OSF_ENV */
46 #ifdef AFS_VFSINCL_ENV
48 #include <sys/vnode.h>
52 #include <sys/fs/ufs_inode.h>
53 #include <sys/fs/ufs_fs.h>
55 #include <sys/fs/ufs_fsdir.h>
57 #include <sys/fs/ufs_mount.h>
59 #include <ufs/inode.h>
62 #include <ufs/fsdir.h>
65 #else /* AFS_VFSINCL_ENV */
67 #include <sys/inode.h>
70 #define LONGFILENAMES 1
71 #include <sys/sysmacros.h>
81 #endif /* AFS_VFSINCL_ENV */
82 #endif /* AFS_OSF_ENV */
95 /* Vice printf: lob the message into /vice/file/vfsck.log if it isn't the root */
96 /* If we're salvaging the root, it wouldn't be such a good idea to lob stuff there */
97 vfscklogprintf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
99 long a1, a2, a3, a4, a5, a6, a7, a8, a9, a10;
101 printf(s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
103 fprintf(logfile, s, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);