From f49ac914bb876c57cf9c071b9e9da98e9738f80c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 23 Apr 2013 18:17:23 +0000 Subject: handle large ino_t --- usr.sbin/rpc.lockd/lockd_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/rpc.lockd/lockd_lock.c b/usr.sbin/rpc.lockd/lockd_lock.c index ef438a65104..c22fe6f68f6 100644 --- a/usr.sbin/rpc.lockd/lockd_lock.c +++ b/usr.sbin/rpc.lockd/lockd_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lockd_lock.c,v 1.7 2010/07/23 07:47:13 jsg Exp $ */ +/* $OpenBSD: lockd_lock.c,v 1.8 2013/04/23 18:17:22 deraadt Exp $ */ /* * Copyright (c) 2000 Manuel Bouyer. @@ -532,10 +532,10 @@ do_lock(struct file_lock *fl, int block) fl->client_name); } syslog(LOG_DEBUG, "lock from %s.%" PRIu32 " for file%s%s: " - "dev %u ino %d (uid %d), flags %d", + "dev %u ino %llu (uid %d), flags %d", fl->client_name, fl->client.svid, fl->client.exclusive ? " (exclusive)":"", block ? " (block)":"", - st.st_dev, st.st_ino, st.st_uid, fl->flags); + st.st_dev, (unsigned long long)st.st_ino, st.st_uid, fl->flags); lflags = LOCK_NB; if (fl->client.exclusive == 0) lflags |= LOCK_SH; -- cgit v1.2.3