summaryrefslogtreecommitdiff
path: root/sys/dev/ramdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ramdisk.c')
-rw-r--r--sys/dev/ramdisk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ramdisk.c b/sys/dev/ramdisk.c
index c193d5c3351..7ed9a4b78c2 100644
--- a/sys/dev/ramdisk.c
+++ b/sys/dev/ramdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ramdisk.c,v 1.39 2007/09/11 13:39:33 gilles Exp $ */
+/* $OpenBSD: ramdisk.c,v 1.40 2008/01/05 07:33:37 brad Exp $ */
/* $NetBSD: ramdisk.c,v 1.8 1996/04/12 08:30:09 leo Exp $ */
/*
@@ -484,6 +484,9 @@ rdioctl(dev, cmd, data, flag, proc)
break;
}
break;
+
+ default:
+ return ENOTTY;
}
return EINVAL;
}