From b921c69fb262988ff7856493a8453661a1bac814 Mon Sep 17 00:00:00 2001 From: Anton Arapov Date: Wed, 12 Jan 2011 16:59:49 -0800 Subject: [PATCH] lib/vsprintf.c: fix vscnprintf() if @size is == 0 vscnprintf() should return 0 if @size is == 0. Update the comment for it, as @size is unsigned. This change based on the code of commit b903c0b8899b46829a9b80ba55b61079b35940ec ("lib: fix scnprintf() if @size is == 0") moves the real fix into vscnprinf() from scnprintf() and makes scnprintf() call vscnprintf(), thus avoid code duplication. Signed-off-by: Anton Arapov Acked-by: Changli Gao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed