projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c6154c
)
util/u_debug_flush: Use util_snprintf.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 1 May 2014 13:18:15 +0000
(14:18 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Fri, 2 May 2014 21:04:46 +0000
(22:04 +0100)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/util/u_debug_flush.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug_flush.c
b/src/gallium/auxiliary/util/u_debug_flush.c
index 9cf70db582f663f42c75ce7cd5115b24a86d71c3..fdb248c23afcc06bd298d823b2a72e077862cfbc 100644
(file)
--- a/
src/gallium/auxiliary/util/u_debug_flush.c
+++ b/
src/gallium/auxiliary/util/u_debug_flush.c
@@
-46,6
+46,7
@@
#include "util/u_hash_table.h"
#include "util/u_double_list.h"
#include "util/u_inlines.h"
+#include "util/u_string.h"
#include "os/os_thread.h"
#include <stdio.h>
@@
-320,8
+321,8
@@
debug_flush_might_flush_cb(void *key, void *value, void *data)
const char *reason = (const char *) data;
char message[80];
- snprintf(message, sizeof(message),
- "%s referenced mapped buffer detected.", reason);
+
util_
snprintf(message, sizeof(message),
+
"%s referenced mapped buffer detected.", reason);
pipe_mutex_lock(fbuf->mutex);
if (fbuf->mapped_sync) {