summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--expac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/expac.c b/expac.c
index e769df9..7a8104b 100644
--- a/expac.c
+++ b/expac.c
@@ -463,6 +463,10 @@ static int print_pkg(pmpkg_t *pkg, const char *format) {
putchar('%');
out++;
break;
+ default:
+ putchar('?');
+ out++;
+ break;
}
FREELIST(list);
} else if (*f == '\\') {