summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/i915.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/link/i915.c')
-rw-r--r--src/mainboard/google/link/i915.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c
index 64812349ed..a38760b1a5 100644
--- a/src/mainboard/google/link/i915.c
+++ b/src/mainboard/google/link/i915.c
@@ -78,7 +78,7 @@ const u32 link_edid_data[] = {
static char *regname(unsigned long addr)
{
static char name[16];
- sprintf(name, "0x%lx", addr);
+ snprintf(name, sizeof (name), "0x%lx", addr);
return name;
}