diff options
author | Volker Lendecke <vl@samba.org> | 2019-11-04 07:39:48 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-11-06 20:36:35 +0000 |
commit | 3f80b8abac3e4a59371017b841cc43dfe486f18e (patch) | |
tree | 6ba1f8363ee0f25776c47c25479aaef6e6e2cb3f /source3 | |
parent | d04581bfe926013bda2df2beefd836555e53e8f9 (diff) | |
download | samba-3f80b8abac3e4a59371017b841cc43dfe486f18e.tar.gz |
smbd: Use file_id_str_buf() in set_write_time()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/locking/locking.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index f90458d9d4f..52309e5fc81 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1013,11 +1013,12 @@ bool set_sticky_write_time(struct file_id fileid, struct timespec write_time) bool set_write_time(struct file_id fileid, struct timespec write_time) { struct share_mode_lock *lck; + struct file_id_buf idbuf; - DEBUG(5,("set_write_time: %s id=%s\n", + DBG_INFO("%s id=%s\n", timestring(talloc_tos(), convert_timespec_to_time_t(write_time)), - file_id_string_tos(&fileid))); + file_id_str_buf(fileid, &idbuf)); lck = get_existing_share_mode_lock(talloc_tos(), fileid); if (lck == NULL) { |