git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] oprofile: Fix unnecessary cleverness
[sfrench/cifs-2.6.git]
/
arch
/
alpha
/
oprofile
/
common.c
diff --git
a/arch/alpha/oprofile/common.c
b/arch/alpha/oprofile/common.c
index ba788cfdc3c6cb00a31f31d82cd1f545420ff751..9fc0eeb4f0abffb573b69365d28eca36b5d5e70d 100644
(file)
--- 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);