From 61caad06b7a95c27eae7aca0536bcffe61d3e31a Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Mon, 6 May 2013 23:03:42 -0400 Subject: [PATCH] Apply cast from cfc9b348 to the else clause Clang on FreeBSD complains about format string mismatch as well. Change-Id: I8bf17571807acdcac460efb94d0388b5cac4fa6c Reviewed-on: http://gerrit.openafs.org/9855 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/VNOPS/afs_vnop_flock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/VNOPS/afs_vnop_flock.c b/src/afs/VNOPS/afs_vnop_flock.c index b6325e1297..de5b12bef3 100644 --- a/src/afs/VNOPS/afs_vnop_flock.c +++ b/src/afs/VNOPS/afs_vnop_flock.c @@ -538,7 +538,7 @@ DoLockWarning(afs_ucred_t * acred) ("afs: byte-range locks only enforced for processes on this machine (pid %d (%s), user %ld).\n", pid, procname, (long)afs_cr_uid(acred)); #else afs_warnuser - ("afs: byte-range lock/unlock ignored; make sure no one else is running this program (pid %d (%s), user %ld).\n", pid, procname, afs_cr_uid(acred)); + ("afs: byte-range lock/unlock ignored; make sure no one else is running this program (pid %d (%s), user %ld).\n", pid, procname, (long)afs_cr_uid(acred)); #endif afs_osi_Free(procname, 256); }