From: Andrew Morton Date: Fri, 9 Nov 2012 03:04:21 +0000 (+1100) Subject: mm-support-more-pagesizes-for-map_hugetlb-shm_hugetlb-v7-fix-fix X-Git-Tag: next-20121113~6^2~186 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1656c5150fcb54836477104a25b5dc3ab718027e;p=karo-tx-linux.git mm-support-more-pagesizes-for-map_hugetlb-shm_hugetlb-v7-fix-fix missed one Cc: Andi Kleen Cc: Hillf Danton Cc: KAMEZAWA Hiroyuki Cc: Michael Kerrisk Cc: Rik van Riel Signed-off-by: Andrew Morton --- diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 5cd6f45cc6bf..21b8a4875237 100644 --- a/fs/hugetlbfs/inode.c +++ b/fs/hugetlbfs/inode.c @@ -1053,7 +1053,7 @@ static int __init init_hugetlbfs_fs(void) char buf[50]; unsigned ps_kb = 1U << (h->order + PAGE_SHIFT - 10); - snprintf(buf, sizeof buf, "pagesize=%uK", ps_kb); + snprintf(buf, sizeof(buf), "pagesize=%uK", ps_kb); hugetlbfs_vfsmount[i] = kern_mount_data(&hugetlbfs_fs_type, buf);