X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Falpha%2Foprofile%2Fcommon.c;h=9fc0eeb4f0abffb573b69365d28eca36b5d5e70d;hb=ba1c28a94322865457ad59f80474615156065123;hp=ba788cfdc3c6cb00a31f31d82cd1f545420ff751;hpb=3ec8a773d2775db86cc21d28b77bea29c8a1ea3c;p=linux-2.6 diff --git a/arch/alpha/oprofile/common.c b/arch/alpha/oprofile/common.c index ba788cfdc3..9fc0eeb4f0 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);