summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2002-02-27 20:20:42 +0000
committerarr <arr@FreeBSD.org>2002-02-27 20:20:42 +0000
commitd6f6c63d781a70a9789515c00da5e811ba4cd5d0 (patch)
tree725252a1d111a6a770197109694486857e59d5be /sys
parent93134b0c510c86d8efe34d2444d79c6323dba757 (diff)
downloadFreeBSD-src-d6f6c63d781a70a9789515c00da5e811ba4cd5d0.zip
FreeBSD-src-d6f6c63d781a70a9789515c00da5e811ba4cd5d0.tar.gz
- Insert a space in the panic() string in order more clearly show the
message.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/trap.c2
-rw-r--r--sys/i386/i386/trap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 504fdde..7752b59 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -257,7 +257,7 @@ trap(frame)
td->td_frame = &frame;
#ifdef DIAGNOSTIC /* see the comment in ast() */
if (td->td_ucred)
- panic("trap:thread got a cred while userspace");
+ panic("trap: thread got a cred while userspace");
td->td_ucred = td->td_ucred_cache;
td->td_ucred_cache = NULL;
#endif /* DIAGNOSTIC */
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 504fdde..7752b59 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -257,7 +257,7 @@ trap(frame)
td->td_frame = &frame;
#ifdef DIAGNOSTIC /* see the comment in ast() */
if (td->td_ucred)
- panic("trap:thread got a cred while userspace");
+ panic("trap: thread got a cred while userspace");
td->td_ucred = td->td_ucred_cache;
td->td_ucred_cache = NULL;
#endif /* DIAGNOSTIC */
OpenPOWER on IntegriCloud