aboutsummaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r--fs/seq_file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 16c211558c22..c99358a52176 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -462,7 +462,8 @@ int seq_dentry(struct seq_file *m, struct dentry *dentry, char *esc)
462 return -1; 462 return -1;
463} 463}
464 464
465int seq_bitmap(struct seq_file *m, unsigned long *bits, unsigned int nr_bits) 465int seq_bitmap(struct seq_file *m, const unsigned long *bits,
466 unsigned int nr_bits)
466{ 467{
467 if (m->count < m->size) { 468 if (m->count < m->size) {
468 int len = bitmap_scnprintf(m->buf + m->count, 469 int len = bitmap_scnprintf(m->buf + m->count,