summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-01-29 16:55:24 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-01-29 16:55:24 +0000
commit114008f0decef3d39abf0261898a40c7de98c0ed (patch)
treec97b166b113b14cd9c1b855d6ea66ef44b3aa6ef
parentf44ceb323ff8eb5183842ffc663576a806f9b7fe (diff)
adjust comment, open_dev_crypto() returns -1 on error.
ok markus@
-rw-r--r--lib/libcrypto/engine/hw_cryptodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/engine/hw_cryptodev.c b/lib/libcrypto/engine/hw_cryptodev.c
index 75a56058ca0..0ca442af8a5 100644
--- a/lib/libcrypto/engine/hw_cryptodev.c
+++ b/lib/libcrypto/engine/hw_cryptodev.c
@@ -164,7 +164,7 @@ static struct {
};
/*
- * Return a fd if /dev/crypto seems usable, 0 otherwise.
+ * Return a fd if /dev/crypto seems usable, -1 otherwise.
*/
static int
open_dev_crypto(void)