]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_time_audit: Fix message for fcntl VFS call
authorChristof Schmitt <cs@samba.org>
Mon, 20 Sep 2021 22:22:50 +0000 (15:22 -0700)
committerChristof Schmitt <cs@samba.org>
Tue, 21 Sep 2021 18:47:38 +0000 (18:47 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_time_audit.c

index c0cb1b38bb2dde0f3bec70ea40c02a93723a14b4..126cf5ba69b0959ece1558787c244d36da3f6aa6 100644 (file)
@@ -1392,7 +1392,7 @@ static int smb_time_audit_fcntl(struct vfs_handle_struct *handle,
 
        timediff = nsec_time_diff(&ts2,&ts1)*1.0e-9;
        if (timediff > audit_timeout) {
-               smb_time_audit_log_fsp("kernel_flock", timediff, fsp);
+               smb_time_audit_log_fsp("fcntl", timediff, fsp);
        }
 
        return result;