diff options
author | dillon <dillon@FreeBSD.org> | 2000-12-31 01:27:55 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2000-12-31 01:27:55 +0000 |
commit | 77a253b168a10f7aefda3110ee3863101b1064f6 (patch) | |
tree | a909459fb1fd6fdeaef24ab068dfccc74e72dc61 /usr.sbin/vnconfig | |
parent | 41fd6873a8d4ace025f23279489d725279cab5ac (diff) | |
download | FreeBSD-src-77a253b168a10f7aefda3110ee3863101b1064f6.zip FreeBSD-src-77a253b168a10f7aefda3110ee3863101b1064f6.tar.gz |
Imply -c when -S is specified, so 'vnconfig -s reserve -S 4 vn1' configures the
device as expected.
Diffstat (limited to 'usr.sbin/vnconfig')
-rw-r--r-- | usr.sbin/vnconfig/vnconfig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index 8c28fc9..98e9d77 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -185,6 +185,8 @@ main(argc, argv) case 'S': size = getsize(optarg); + flags |= VN_CONFIG; + flags &= ~VN_UNCONFIG; break; case 'T': |