summaryrefslogtreecommitdiffstats
path: root/Src/builtin.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 31f396d93..3aae0f769 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -2627,14 +2627,14 @@ bin_getopts(char *name, char **argv, char *ops, int func)
if(opch == ':' || !(p = memchr(optstr, opch, lenoptstr))) {
p = "?";
err:
- zsfree(zoptarg);
+ zsfree(zoptarg);
if(quiet) {
setsparam(var, ztrdup(p));
zoptarg = metafy(optbuf, lenoptbuf, META_DUP);
} else {
zerr(*p == '?' ? "bad option: -%c" :
"argument expected after -%c option", NULL, opch);
- zoptarg=ztrdup("");
+ zoptarg=ztrdup("");
errflag = 0;
}
return 0;