git://git.camperquake.de
/
zfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3275b5
)
Make zpool attach -o ashift=... actually work
author
Cyril Plisko
<cyril.plisko@mountall.com>
Fri, 30 Nov 2012 21:13:28 +0000
(23:13 +0200)
committer
Brian Behlendorf
<behlendorf1@llnl.gov>
Fri, 30 Nov 2012 21:50:26 +0000
(13:50 -0800)
Commit
df83110856950c8e7b16a7e94cdf42b8531b9cc8
missed update to
getopt() call, while delivering all the rest. This commit adds
"o" to getopt().
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #566
cmd/zpool/zpool_main.c
patch
|
blob
|
history
diff --git
a/cmd/zpool/zpool_main.c
b/cmd/zpool/zpool_main.c
index
a684f3b
..
cb0535a
100644
(file)
--- a/
cmd/zpool/zpool_main.c
+++ b/
cmd/zpool/zpool_main.c
@@
-2889,7
+2889,7
@@
zpool_do_attach_or_replace(int argc, char **argv, int replacing)
int ret;
/* check options */
- while ((c = getopt(argc, argv, "f")) != -1) {
+ while ((c = getopt(argc, argv, "f
o:
")) != -1) {
switch (c) {
case 'f':
force = B_TRUE;