aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-11-08 22:28:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-11-08 22:28:35 +0000
commit6db27285f5a546a0843032624ea81262c5ecee2d (patch)
treec55045f9e7bc754f44c9103b83662ddd3cd8a7b3
parent78c26653180248e48fad84509cb62128506ec9f5 (diff)
Notes
-rw-r--r--sys/ufs/ufs/ufs_extattr.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c
index a243f81f999a1..3d999b1f2a4a1 100644
--- a/sys/ufs/ufs/ufs_extattr.c
+++ b/sys/ufs/ufs/ufs_extattr.c
@@ -52,6 +52,7 @@
#include <sys/lock.h>
#include <sys/dirent.h>
#include <sys/extattr.h>
+#include <sys/stdint.h>
#include <sys/sysctl.h>
#include <vm/uma.h>
@@ -911,8 +912,8 @@ ufs_extattr_get(struct vnode *vp, int attrnamespace, const char *name,
* is to coerce this to undefined, and let it get cleaned
* up by the next write or extattrctl clean.
*/
- printf("ufs_extattr_get (%s): inode number inconsistency (%d, %lld)\n",
- mp->mnt_stat.f_mntonname, ueh.ueh_i_gen, ip->i_gen);
+ printf("ufs_extattr_get (%s): inode number inconsistency (%d, %jd)\n",
+ mp->mnt_stat.f_mntonname, ueh.ueh_i_gen, (intmax_t)ip->i_gen);
error = ENOATTR;
goto vopunlock_exit;
}
@@ -1192,8 +1193,8 @@ ufs_extattr_rm(struct vnode *vp, int attrnamespace, const char *name,
* coerce this to undefined, and let it get cleaned up by
* the next write or extattrctl clean.
*/
- printf("ufs_extattr_rm (%s): inode number inconsistency (%d, %lld)\n",
- mp->mnt_stat.f_mntonname, ueh.ueh_i_gen, ip->i_gen);
+ printf("ufs_extattr_rm (%s): inode number inconsistency (%d, %jd)\n",
+ mp->mnt_stat.f_mntonname, ueh.ueh_i_gen, (intmax_t)ip->i_gen);
error = ENOATTR;
goto vopunlock_exit;
}