summaryrefslogtreecommitdiff
path: root/sys/dev/ic/com.c
diff options
context:
space:
mode:
authorsimonb <simonb@NetBSD.org>2003-06-29 14:09:21 +0000
committersimonb <simonb@NetBSD.org>2003-06-29 14:09:21 +0000
commit7aa3dc6d452b4e73b4bf92b5a24b46def2126f93 (patch)
treef25b6981588791f4c62a924ad26470afde79f1e5 /sys/dev/ic/com.c
parent69cd0c4a54d13cb114673bb64eb3f47b6278b121 (diff)
Restore parentheses around return value that were removed with the
previous commit.
Diffstat (limited to 'sys/dev/ic/com.c')
-rw-r--r--sys/dev/ic/com.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 13b06a8834d..db921203ecc 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.214 2003/06/28 14:21:34 darrenr Exp $ */
+/* $NetBSD: com.c,v 1.215 2003/06/29 14:09:21 simonb Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.214 2003/06/28 14:21:34 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.215 2003/06/29 14:09:21 simonb Exp $");
#include "opt_com.h"
#include "opt_ddb.h"
@@ -1024,7 +1024,7 @@ compoll(dev_t dev, int events, struct lwp *l)
if (COM_ISALIVE(sc) == 0)
return (EIO);
- return (*tp->t_linesw->l_poll)(tp, events, l);
+ return ((*tp->t_linesw->l_poll)(tp, events, l));
}
struct tty *