diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-04-09 10:04:09 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-04-09 10:04:09 +0000 |
| commit | 7f086a085215989a26224df21bc4ad14f5b69b9b (patch) | |
| tree | 61c96a50334702fac7b6db6058d8f9dac2ffb97e /sys/kern/subr_disk.c | |
| parent | 63fe68046215d9b72740a5c35634e21703941d14 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 155cfc354b24..b1f3e6a9e452 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -390,7 +390,7 @@ diskioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct thread *td) dp = pdev->si_disk; if (!dp) return (ENXIO); - if (cmd == DIOCGKERNELDUMP) { + if (cmd == DIOCSKERNELDUMP) { u = *(u_int *)data; return (diskdumpconf(u, dev, dp)); } |
