diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-10 22:30:44 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-10 22:30:44 +0000 |
commit | d581b67d578fdcc593e47f87c2d9d0130b6269a8 (patch) | |
tree | 3092c44b29860dd53db3066372aab6aff67e3ca1 /sys | |
parent | 080eab3facdf1a9c69320bb4b294e27901ed8a17 (diff) | |
download | FreeBSD-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.c | 1 |
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); |