summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/cons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/cons.c b/device/cons.c
index a3d380d..07a1958 100644
--- a/device/cons.c
+++ b/device/cons.c
@@ -97,7 +97,7 @@ cninit()
/*
* Found a console, initialize it.
*/
- if (cp = cn_tab) {
+ if ((cp = cn_tab)) {
/*
* Initialize as console
*/