diff options
Diffstat (limited to 'sys/modules/examples/panic_string/panic_string.c')
| -rw-r--r-- | sys/modules/examples/panic_string/panic_string.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/modules/examples/panic_string/panic_string.c b/sys/modules/examples/panic_string/panic_string.c index f27cde06b6c..44b9c2eecae 100644 --- a/sys/modules/examples/panic_string/panic_string.c +++ b/sys/modules/examples/panic_string/panic_string.c @@ -1,4 +1,4 @@ -/* $NetBSD: panic_string.c,v 1.1 2018/05/29 16:53:56 kamil Exp $ */ +/* $NetBSD: panic_string.c,v 1.2 2020/01/30 07:58:33 kamil Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: panic_string.c,v 1.1 2018/05/29 16:53:56 kamil Exp $"); +__KERNEL_RCSID(0, "$NetBSD: panic_string.c,v 1.2 2020/01/30 07:58:33 kamil Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -46,7 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: panic_string.c,v 1.1 2018/05/29 16:53:56 kamil Exp $ * user input. * * To use this device you need to do: - * mknod /dev/panic c 210 0 + * mknod /dev/panic c 351 0 * * To write to the device you might need: * chmod 666 /dev/panic @@ -173,7 +173,7 @@ panic_string_modcmd(modcmd_t cmd, void *arg __unused) { /* The major should be verified and changed if needed to avoid * conflicts with other devices. */ - int cmajor = 210, bmajor = -1; + int cmajor = 351, bmajor = -1; switch (cmd) { case MODULE_CMD_INIT: |
