summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-10 12:32:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-10 12:32:12 +0000
commitd5139ef78d6b5be7b70967e10999ac5a7357558e (patch)
tree7af5453354c679acb37e07a364f7dfd02e8aa835
parent04ac7ea63d8c482b4a634b4487d0d539f5183a58 (diff)
return an error
-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 */