diff options
author | Dave Reisner <d@falconindy.com> | 2010-12-12 12:20:10 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-12-12 12:20:10 -0500 |
commit | 8e8bee99ca11fbe2dacbe67de1b6318c7b3c3e62 (patch) | |
tree | 2d036f009bed58d1dbd3e06542672df07104f656 | |
parent | a971ee49ed668196e7f40fb8267403cbb3e50b62 (diff) | |
download | expac-8e8bee99ca11fbe2dacbe67de1b6318c7b3c3e62.tar.xz |
print ? for unknown tokens
-rw-r--r-- | expac.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 == '\\') { |