[packages/kmscon] - why not puts?
glen
glen at pld-linux.org
Sat Nov 10 14:44:04 CET 2012
commit fa1680a8e766ba9ec640fcfc16c01b237dd5204b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Nov 10 13:44:01 2012 +0000
- why not puts?
kmscon-format.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/kmscon-format.patch b/kmscon-format.patch
index 9e2d3f6..688e242 100644
--- a/kmscon-format.patch
+++ b/kmscon-format.patch
@@ -5,11 +5,11 @@
idx = hex_val(c);
if (idx < 16) {
- fprintf(out, line_map[idx]);
-+ fprintf(out, "%s", line_map[idx]);
++ fputs(line_map[idx], out);
} else {
fprintf(stderr, "genunifont: invalid value %c\n", c);
- fprintf(out, line_map[0]);
-+ fprintf(out, "%s", line_map[0]);
++ fputs(line_map[0], out);
}
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kmscon.git/commitdiff/fa1680a8e766ba9ec640fcfc16c01b237dd5204b
More information about the pld-cvs-commit
mailing list