summaryrefslogtreecommitdiffstats
path: root/arch/alpha/oprofile/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/oprofile/common.c')
-rw-r--r--arch/alpha/oprofile/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/oprofile/common.c b/arch/alpha/oprofile/common.c
index ba788cf..9fc0eeb 100644
--- a/arch/alpha/oprofile/common.c
+++ b/arch/alpha/oprofile/common.c
@@ -112,7 +112,7 @@ op_axp_create_files(struct super_block * sb, struct dentry * root)
for (i = 0; i < model->num_counters; ++i) {
struct dentry *dir;
- char buf[3];
+ char buf[4];
snprintf(buf, sizeof buf, "%d", i);
dir = oprofilefs_mkdir(sb, root, buf);
OpenPOWER on IntegriCloud