diff options
Diffstat (limited to 'lib/ntdb/lock.c')
-rw-r--r-- | lib/ntdb/lock.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ntdb/lock.c b/lib/ntdb/lock.c index 4517e25568..71d6d8525b 100644 --- a/lib/ntdb/lock.c +++ b/lib/ntdb/lock.c @@ -52,8 +52,10 @@ bool check_lock_pid(struct ntdb_context *ntdb, const char *call, bool log) if (log) { ntdb_logerr(ntdb, NTDB_ERR_LOCK, NTDB_LOG_USE_ERROR, - "%s: fork() detected after lock acquisition!" - " (%u vs %u)", call, ntdb->file->locker, getpid()); + "%s: fork() detected after lock acquisition!" + " (%u vs %u)", call, + (unsigned int)ntdb->file->locker, + (unsigned int)getpid()); } return false; } |