summaryrefslogtreecommitdiffstats
path: root/sbin/mdconfig/mdconfig.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-01-28 20:17:46 +0000
committerphk <phk@FreeBSD.org>2001-01-28 20:17:46 +0000
commit89f4ee5ca6d98d6e7315034f013aacbcc0561725 (patch)
tree75d11a301d1ff29c07141b59c3db082067073cc3 /sbin/mdconfig/mdconfig.c
parent96febcd0b89fea8df1984603f4e78dc5f7cebc3e (diff)
downloadFreeBSD-src-89f4ee5ca6d98d6e7315034f013aacbcc0561725.zip
FreeBSD-src-89f4ee5ca6d98d6e7315034f013aacbcc0561725.tar.gz
Duh, the version of mdconfig.c I committed came from the wrong machine.
Commit the right version, but without the -b option which is too evil for the present. Remove -b and preload from the manpage as well.
Diffstat (limited to 'sbin/mdconfig/mdconfig.c')
-rw-r--r--sbin/mdconfig/mdconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c
index 9f43877..a5b777c 100644
--- a/sbin/mdconfig/mdconfig.c
+++ b/sbin/mdconfig/mdconfig.c
@@ -84,7 +84,7 @@ main(int argc, char **argv)
case 'f':
if (cmdline != 2)
usage();
- strncpy(mdio.md_file, optarg, sizeof(mdio.md_file) - 1);
+ mdio.md_file = optarg;
break;
case 'o':
if (cmdline != 2)
OpenPOWER on IntegriCloud