mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
14 lines
365 B
Diff
14 lines
365 B
Diff
|
diff --git a/src/funcs.c b/src/funcs.c
|
||
|
index 299b8f022..ecbfa28c5 100644
|
||
|
--- a/src/funcs.c
|
||
|
+++ b/src/funcs.c
|
||
|
@@ -93,7 +93,7 @@ file_checkfmt(char *msg, size_t mlen, const char *fmt)
|
||
|
if (*++p == '%')
|
||
|
continue;
|
||
|
// Skip uninteresting.
|
||
|
- while (strchr("0.'+- ", *p) != NULL)
|
||
|
+ while (strchr("#0.'+- ", *p) != NULL)
|
||
|
p++;
|
||
|
if (*p == '*') {
|
||
|
if (msg)
|