projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
665f9f6
)
mfiutil(8): Correct sysctl name.
author
Sascha Wildner <saw@online.de>
Mon, 9 Jan 2012 03:47:19 +0000 (
04:47
+0100)
committer
Sascha Wildner <saw@online.de>
Mon, 9 Jan 2012 03:47:52 +0000 (
04:47
+0100)
usr.sbin/mfiutil/mfi_config.c
patch
|
blob
|
blame
|
history
diff --git
a/usr.sbin/mfiutil/mfi_config.c
b/usr.sbin/mfiutil/mfi_config.c
index
a133a1e
..
bb7b68b
100644
(file)
--- a/
usr.sbin/mfiutil/mfi_config.c
+++ b/
usr.sbin/mfiutil/mfi_config.c
@@
-1220,7
+1220,7
@@
dump(int ac, char **av)
}
/* Get the stashed copy of the last dcmd from the driver. */
- snprintf(buf, sizeof(buf), "dev.mfi.%d.debug_command", mfi_unit);
+ snprintf(buf, sizeof(buf), "hw.mfi%d.debug_command", mfi_unit);
if (sysctlbyname(buf, NULL, &len, NULL, 0) < 0) {
error = errno;
warn("Failed to read debug command");