svn commit: r359632 - stable/12/sys/compat/linux
Mark Johnston
markj at FreeBSD.org
Sat Apr 4 17:09:10 UTC 2020
Author: markj
Date: Sat Apr 4 17:08:58 2020
New Revision: 359632
URL: https://svnweb.freebsd.org/changeset/base/359632
Log:
Fix the Linux truncate64 debug print after r359605.
Note, the debug code is not present in head, it was removed in r347538.
This is a direct commit to stable/12.
Reported by: Jenkins
Modified:
stable/12/sys/compat/linux/linux_file.c
Modified: stable/12/sys/compat/linux/linux_file.c
==============================================================================
--- stable/12/sys/compat/linux/linux_file.c Sat Apr 4 12:07:36 2020 (r359631)
+++ stable/12/sys/compat/linux/linux_file.c Sat Apr 4 17:08:58 2020 (r359632)
@@ -926,7 +926,7 @@ linux_truncate64(struct thread *td, struct linux_trunc
#ifdef DEBUG
if (ldebug(truncate64))
- printf(ARGS(truncate64, "%s, %jd"), path, args->length);
+ printf(ARGS(truncate64, "%s, %jd"), path, length);
#endif
error = kern_truncate(td, path, UIO_SYSSPACE, length);
More information about the svn-src-stable-12
mailing list