diff options
author | Vinson Lee <[email protected]> | 2010-07-16 18:03:03 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-07-16 18:03:03 -0700 |
commit | 37648b86b1fefd37dc285486cfb18969eeaa8df1 (patch) | |
tree | 2a966860175c224292d8a36663b9e19ff79dde70 /src/gallium/drivers/nouveau | |
parent | 68744f9325b7101756c39ff3f19acb502f534a69 (diff) |
nouveau: s/snprintf/util_snprintf/
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index 6fe1eb69530..d1ec56df8c0 100644 --- 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; } |