summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
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