diff options
author | Volker Lendecke <vl@samba.org> | 2019-09-06 07:29:10 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-09-10 23:14:31 +0000 |
commit | d9263473b07abe106f79edda8f880183881b4cff (patch) | |
tree | 01b993f208e334b9d6f6043562089c23133ed5df /source3/locking | |
parent | de8b93b47992dc37821aa2bd83b34ba374ff0139 (diff) | |
download | samba-d9263473b07abe106f79edda8f880183881b4cff.tar.gz |
smbd: Use file_id_str_buf() in share_mode_str()
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 3ed63cdec41..97ef4d220d0 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -442,6 +442,7 @@ char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e) { struct server_id_buf tmp; + struct file_id_buf ftmp; return talloc_asprintf(ctx, "share_mode_entry[%d]: " "pid = %s, share_access = 0x%x, private_options = 0x%x, " @@ -453,7 +454,7 @@ char *share_mode_str(TALLOC_CTX *ctx, int num, e->access_mask, (unsigned long long)e->op_mid, e->op_type, (unsigned long long)e->share_file_id, (unsigned int)e->uid, (unsigned int)e->flags, - file_id_string_tos(id), + file_id_str_buf(*id, &ftmp), (unsigned int)e->name_hash); } |