summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe/twe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/twe/twe.c')
-rw-r--r--sys/dev/twe/twe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twe.c b/sys/dev/twe/twe.c
index 75c0808..43df8e9 100644
--- a/sys/dev/twe/twe.c
+++ b/sys/dev/twe/twe.c
@@ -824,7 +824,7 @@ twe_init_connection(struct twe_softc *sc, int mode)
/* get a command */
if (twe_get_request(sc, &tr))
- return(NULL);
+ return(0);
/* build the command */
cmd = &tr->tr_command;
OpenPOWER on IntegriCloud