diff options
author | 2003-04-09 20:44:57 +0000 | |
---|---|---|
committer | 2003-04-09 20:44:57 +0000 | |
commit | 323556b30dbf228a8e082bf64f0914f6c6ba88aa (patch) | |
tree | 5b8f0f57fe8d02858ff3629e3be355fa0bca197b | |
parent | a couple of sigmatel codec ids (diff) | |
download | wireguard-openbsd-323556b30dbf228a8e082bf64f0914f6c6ba88aa.tar.xz wireguard-openbsd-323556b30dbf228a8e082bf64f0914f6c6ba88aa.zip |
missing nl in the error msg and a return afterwards
-rw-r--r-- | sys/dev/ic/twe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/twe.c b/sys/dev/ic/twe.c index ac0c555bdb9..9d3ba2091c5 100644 --- a/sys/dev/ic/twe.c +++ b/sys/dev/ic/twe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: twe.c,v 1.18 2002/09/17 13:45:38 mickey Exp $ */ +/* $OpenBSD: twe.c,v 1.19 2003/04/09 20:44:57 mickey Exp $ */ /* * Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved. @@ -417,8 +417,9 @@ twe_thread_create(void *v) if (kthread_create(twe_thread, sc, &sc->sc_thread, "%s", sc->sc_dev.dv_xname)) { /* TODO disable twe */ - printf("%s: failed to create kernel thread, disabled", + printf("%s: failed to create kernel thread, disabled\n", sc->sc_dev.dv_xname); + return; } TWE_DPRINTF(TWE_D_CMD, ("stat=%b ", |