projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68744f9
)
nouveau: s/snprintf/util_snprintf/
author
Vinson Lee
<vlee@vmware.com>
Sat, 17 Jul 2010 01:03:03 +0000
(18:03 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 17 Jul 2010 01:03:03 +0000
(18:03 -0700)
src/gallium/drivers/nouveau/nouveau_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nouveau/nouveau_screen.c
b/src/gallium/drivers/nouveau/nouveau_screen.c
index 6fe1eb6953062a99e440c66b3f3525a49efe0169..d1ec56df8c056af1c904c79fb71de93f3079672a 100644
(file)
--- a/
src/gallium/drivers/nouveau/nouveau_screen.c
+++ b/
src/gallium/drivers/nouveau/nouveau_screen.c
@@
-6,6
+6,7
@@
#include "util/u_inlines.h"
#include "util/u_format.h"
#include "util/u_format_s3tc.h"
+#include "util/u_string.h"
#include <stdio.h>
#include <errno.h>
@@
-24,7
+25,7
@@
nouveau_screen_get_name(struct pipe_screen *pscreen)
struct nouveau_device *dev = nouveau_screen(pscreen)->device;
static char buffer[128];
- snprintf(buffer, sizeof(buffer), "NV%02X", dev->chipset);
+
util_
snprintf(buffer, sizeof(buffer), "NV%02X", dev->chipset);
return buffer;
}