Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 17:08:59 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r359632 - stable/12/sys/compat/linux
Message-ID:  <202004041708.034H8xbN007506@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004041708.034H8xbN007506>