summaryrefslogtreecommitdiff
path: root/test/khronos_typedefs_nonepoxy.c
diff options
context:
space:
mode:
authorIkey Doherty <ikey@solus-project.com>2017-10-19 16:02:57 +0100
committerIkey Doherty <ikey@solus-project.com>2017-10-19 16:04:11 +0100
commitc8d7ae6bf8f2d0946f8955d1d0f8de3a18306e23 (patch)
tree4240cd6cf8fa28ff43b9d12bd2db898f41d6109b /test/khronos_typedefs_nonepoxy.c
parent9dde80065fa09128885d61b0a3baaec780961880 (diff)
downloadlibepoxy-c8d7ae6bf8f2d0946f8955d1d0f8de3a18306e23.tar.gz
Only use printf family when passing arguments
This avoids any unnecessary allocations when simply passing static strings to be printed onto stderr, and uses the simpler fputs mechanism. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
Diffstat (limited to 'test/khronos_typedefs_nonepoxy.c')
-rw-r--r--test/khronos_typedefs_nonepoxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/khronos_typedefs_nonepoxy.c b/test/khronos_typedefs_nonepoxy.c
index 64d5a1b..d249545 100644
--- a/test/khronos_typedefs_nonepoxy.c
+++ b/test/khronos_typedefs_nonepoxy.c
@@ -62,7 +62,7 @@ get_system_typedef_sizes(uint32_t *sizes)
void
get_system_typedef_sizes(uint32_t *sizes)
{
- fprintf(stderr, "./configure failed to find khrplatform.h\n");
+ fputs("./configure failed to find khrplatform.h\n", stderr);
exit(77);
}