X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Falpha%2Foprofile%2Fcommon.c;fp=arch%2Falpha%2Foprofile%2Fcommon.c;h=ba788cfdc3c6cb00a31f31d82cd1f545420ff751;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=9fc0eeb4f0abffb573b69365d28eca36b5d5e70d;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/alpha/oprofile/common.c b/arch/alpha/oprofile/common.c index 9fc0eeb4f..ba788cfdc 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[4]; + char buf[3]; snprintf(buf, sizeof buf, "%d", i); dir = oprofilefs_mkdir(sb, root, buf);