From 486344203a84fce7bb2007181b0bb740889b6282 Mon Sep 17 00:00:00 2001 From: jmb Date: Mon, 5 Jan 1998 01:17:42 +0000 Subject: sigh....forgot to update the DEBUG printf to show both the path and the length args to linux emulation truncate() Submitted by: jmb --- sys/compat/linux/linux_file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/compat/linux/linux_file.c') diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 13e7520..f792a37 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_file.c,v 1.17 1997/12/16 18:49:23 eivind Exp $ + * $Id: linux_file.c,v 1.18 1998/01/05 01:05:15 jmb Exp $ */ #include "opt_compat.h" @@ -795,8 +795,8 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args) CHECKALTEXIST(p, &sg, args->path); #ifdef DEBUG - printf("Linux-emul(%d): truncate(%s)\n", - p->p_pid, args->path); + printf("Linux-emul(%d): truncate(%s, %ld)\n", + p->p_pid, args->path, args->length); #endif bsd.path = args->path; bsd.length = args->length; -- cgit v1.1