summaryrefslogtreecommitdiffstats
path: root/opt.c
diff options
context:
space:
mode:
Diffstat (limited to 'opt.c')
-rw-r--r--opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opt.c b/opt.c
index 5e3dc19..2ded162 100644
--- a/opt.c
+++ b/opt.c
@@ -108,7 +108,7 @@ static void debug_opt(const struct opt_state *state, const char *format, ...) {
break;
case 'g':
- cfprintf(cerr, "%{ylw}%g%{rs}", va_arg(args, double));
+ cfprintf(cerr, "${ylw}%g${rs}", va_arg(args, double));
break;
}
} else {