summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'color.c')
-rw-r--r--color.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/color.c b/color.c
index bdf0d7d..14ae541 100644
--- a/color.c
+++ b/color.c
@@ -484,6 +484,12 @@ int cfprintf(CFILE *cfile, const char *format, ...) {
}
break;
+ case 'd':
+ if (fprintf(file, "%d", va_arg(args, int)) < 0) {
+ goto done;
+ }
+ break;
+
case 's':
if (fputs(va_arg(args, const char *), file) == EOF) {
goto done;