summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c
index b93d6674971..7dc503f15a4 100644
--- a/sys/ddb/db_usrreq.c
+++ b/sys/ddb/db_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_usrreq.c,v 1.14 2010/07/26 01:56:27 guenther Exp $ */
+/* $OpenBSD: db_usrreq.c,v 1.15 2013/06/10 22:46:13 bluhm Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff. All rights reserved.
@@ -99,7 +99,7 @@ ddb_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
Debugger();
newp = NULL;
} else
- return (EOPNOTSUPP);
+ return (ENODEV);
}
return (sysctl_rdint(oldp, oldlenp, newp, 0));
default: