Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2003 07:54:27 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 26493 for review
Message-ID:  <200303071554.h27FsRaM053385@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26493

Change 26493 by jhb@jhb_laptop on 2003/03/07 07:53:40

	Fixup KTR filenames as well.

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_ktr.c#16 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_ktr.c#16 (text+ko) ====

@@ -216,6 +216,9 @@
 #endif
 	entry->ktr_timestamp = KTR_TIME;
 	entry->ktr_cpu = cpu;
+	if (file != NULL)
+		while (strncmp(file, "../", 3) == 0)
+			file += 3;
 	entry->ktr_file = file;
 	entry->ktr_line = line;
 #ifdef KTR_VERBOSE

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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