[GFS2] use snprintf for sysfs show
authorDavid Teigland <teigland@redhat.com>
Wed, 6 Sep 2006 21:57:06 +0000 (16:57 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Sep 2006 13:43:34 +0000 (09:43 -0400)
commit3204a6c05588788f7686bc45585185a9a4788430
tree053c0839ee64ccf2e7dfc94d94c388d75c0158ab
parentc53921248c79197befa7caa4c17b1af5c077a2c2
[GFS2] use snprintf for sysfs show

Use snprintf(buf, PAGE_SIZE, ...) instead of sprintf for sysfs show
methods.  Per instructions in Documentation/filesystems/sysfs.txt

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/sys.c