summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-08 22:28:35 +0000
committerjhb <jhb@FreeBSD.org>2002-11-08 22:28:35 +0000
commitb8daeabf59a4fcd8c40b445f367277c122ae26df (patch)
treec55045f9e7bc754f44c9103b83662ddd3cd8a7b3 /sys
parent739da0727048a1e4f227f2b2a732a6343d3975f7 (diff)
downloadFreeBSD-src-b8daeabf59a4fcd8c40b445f367277c122ae26df.zip
FreeBSD-src-b8daeabf59a4fcd8c40b445f367277c122ae26df.tar.gz
Print daddr_t's with %j and intmax_t.
Diffstat (limited to 'sys')
-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 a243f81..3d999b1 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;
}
OpenPOWER on IntegriCloud