summaryrefslogtreecommitdiffstats
path: root/sys/dev/ccd.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-10 12:32:11 +0000
committerderaadt <deraadt@openbsd.org>1996-05-10 12:32:11 +0000
commit5173030c8b7105d8eb15d4716e364e16e77630aa (patch)
treefb8741061da645ba53a7acc415c1b1eb3772b2d9 /sys/dev/ccd.c
parentSC_DEBUG cleanup (diff)
downloadwireguard-openbsd-5173030c8b7105d8eb15d4716e364e16e77630aa.tar.xz
wireguard-openbsd-5173030c8b7105d8eb15d4716e364e16e77630aa.zip
return an error
Diffstat (limited to 'sys/dev/ccd.c')
-rw-r--r--sys/dev/ccd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c
index ec41ca4f399..57c0f0ba77a 100644
--- a/sys/dev/ccd.c
+++ b/sys/dev/ccd.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: ccd.c,v 1.11 1996/05/02 13:34:39 deraadt Exp $ */
-/* $NetBSD: ccd.c,v 1.32 1996/04/22 01:26:39 christos Exp $ */
+/* $OpenBSD: ccd.c,v 1.12 1996/05/10 12:32:11 deraadt Exp $ */
+/* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -583,7 +583,7 @@ ccdopen(dev, flags, fmt, p)
done:
ccdunlock(cs);
- return (0);
+ return (error);
}
/* ARGSUSED */