diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-18 04:53:55 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-18 04:53:55 -0800 |
| commit | e9dc2e518981044c7513452f47064b5ebcf32e1e (patch) | |
| tree | e0aa24a19bc8b42138a258648c155c212ab8b87b /drivers/base/node.c | |
| parent | 3aa6ed84be153fe2b674114e7f8eafe8123aff9c (diff) | |
[PATCH] Rename bitmap_snprintf() and cpumask_snprintf() to *_scnprintf()
From: Joe Korty <joe.korty@ccur.com>
Rename bitmap_snprintf() to bitmap_scnprintf() and cpumask_snprintf() to
cpumask_scnprintf(), as these functions now belong to the scnprintf family
of functions.
Diffstat (limited to 'drivers/base/node.c')
| -rw-r--r-- | drivers/base/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c index dac399693b6c..e161a1c21dbf 100644 --- a/drivers/base/node.c +++ b/drivers/base/node.c @@ -23,7 +23,7 @@ static ssize_t node_read_cpumap(struct sys_device * dev, char * buf) /* FIXME - someone should pass us a buffer size (count) or * use seq_file or something to avoid buffer overrun risk. */ - len = cpumask_snprintf(buf, 99 /* XXX FIXME */, mask); + len = cpumask_scnprintf(buf, 99 /* XXX FIXME */, mask); len += sprintf(buf + len, "\n"); return len; } |
