summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-10 22:30:44 +0000
committerjhb <jhb@FreeBSD.org>2000-11-10 22:30:44 +0000
commitd581b67d578fdcc593e47f87c2d9d0130b6269a8 (patch)
tree3092c44b29860dd53db3066372aab6aff67e3ca1 /sys
parent080eab3facdf1a9c69320bb4b294e27901ed8a17 (diff)
downloadFreeBSD-src-d581b67d578fdcc593e47f87c2d9d0130b6269a8.zip
FreeBSD-src-d581b67d578fdcc593e47f87c2d9d0130b6269a8.tar.gz
Don't overwrite the filename for KTR_EXTEND with "../../kern/kern_ktr.c".
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_ktr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_ktr.c b/sys/kern/kern_ktr.c
index 62eb17a..049eb3d 100644
--- a/sys/kern/kern_ktr.c
+++ b/sys/kern/kern_ktr.c
@@ -125,7 +125,6 @@ ktr_tracepoint(u_int mask, char *format, u_long arg1, u_long arg2, u_long arg3,
#ifdef KTR_EXTEND
strncpy(entry->ktr_filename, filename, KTRFILENAMESIZE - 1);
entry->ktr_filename[KTRFILENAMESIZE - 1] = '\0';
- snprintf(entry->ktr_filename, KTRFILENAMESIZE, "%s", __FILE__);
entry->ktr_line = line;
entry->ktr_cpu = KTR_CPU;
va_start(ap, format);
OpenPOWER on IntegriCloud