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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to