sio: Fix a typo. lwkt_gettoken -> lwkt_reltoken
authorSascha Wildner <saw@online.de>
Sat, 28 Aug 2010 08:08:43 +0000 (10:08 +0200)
committerSascha Wildner <saw@online.de>
Sat, 28 Aug 2010 08:08:43 +0000 (10:08 +0200)
Reported-by: alexh
sys/dev/serial/sio/sio.c

index fd17486..6c24c53 100644 (file)
@@ -2784,7 +2784,7 @@ comwakeup(void *chan)
         * Check for and log errors, but not too often.
         */
        if (--sio_timeouts_until_log > 0) {
-               lwkt_gettoken(&tty_token);
+               lwkt_reltoken(&tty_token);
                return;
        }
        sio_timeouts_until_log = hz / sio_timeout;