diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-04-09 20:44:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-04-09 20:44:58 +0000 |
commit | ff0c1858d6de379c782754956557a3d4e7bdf3e4 (patch) | |
tree | 4ed734ab1920bcdc4250f6a0ffabe1667d854ca4 /sys/dev/ic/twe.c | |
parent | aeb6c3a570a54e8646f56edfcf9e1f9986f835b0 (diff) |
missing nl in the error msg and a return afterwards
Diffstat (limited to 'sys/dev/ic/twe.c')
-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 ", |