diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-12 11:08:07 -0500 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-01-13 13:05:28 +0200 |
commit | e95a99a2c5ffb5ae1bf0f69bc553f591e57815e2 (patch) | |
tree | 65e897826fc52e158db817e5a7eccebe2f527d55 /tests/fs-tests/stress/atoms/gcd_hupper.c | |
parent | 149d3c8ac8d32c05836ed8add1324561ce0952ad (diff) |
ubi-utils: fix warning in fprintf() code
When building with gcc security warnings enabled, the ubimirror.c code
triggers this warning:
./src/ubimirror.c: In function 'main':
./src/ubimirror.c:206: error: format not a string literal and no format arguments
Since the buffer in question should be a straight string anyways, avoid
ugly printf exploits by outputting the string indirectly:
printf("%s", buffer)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'tests/fs-tests/stress/atoms/gcd_hupper.c')
0 files changed, 0 insertions, 0 deletions