mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 01:26:38 +02:00
13 lines
522 B
Diff
13 lines
522 B
Diff
diff --git a/src/result_output.c b/src/result_output.c
|
|
index 48eeeca..9293e50 100644
|
|
--- a/src/result_output.c
|
|
+++ b/src/result_output.c
|
|
@@ -752,7 +752,7 @@ static void printPropertyResultControl(FILE * f, char *propname, char *subfmt, R
|
|
s = (char *) emalloc(MAXWORDLEN + 1);
|
|
n = strftime(s, (size_t) MAXWORDLEN, fmt, localtime(&(pv->value.v_date)));
|
|
if (n && f)
|
|
- fprintf(f, s);
|
|
+ fprintf(f, "%s", s);
|
|
efree(s);
|
|
}
|
|
break;
|