From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from pig2.dooz.org ([88.191.118.219]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RETQX-0003Ol-2X for barebox@lists.infradead.org; Thu, 13 Oct 2011 22:06:57 +0000 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Fri, 14 Oct 2011 00:06:39 +0200 Message-Id: <1318543601-20819-4-git-send-email-loic.minier@linaro.org> In-Reply-To: <1318543601-20819-1-git-send-email-loic.minier@linaro.org> References: <1318543601-20819-1-git-send-email-loic.minier@linaro.org> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 3/5] fprintf() returns an int To: barebox@lists.infradead.org Rm9yIGNvbnNpc3RlbmN5LCBsZXQgZnByaW50ZiByZXR1cm4gYW4gaW50IGp1c3QgbGlrZSBpdCdz IHJlZ3VsYXIgbGliYwppbXBsZW1lbnRhdGlvbiBhbmQgYWxsIHRoZSBvdGhlciBwcmludGYgdmFy aWF0aW9ucyBiYXJlYm94IGhhcy4gIFRoaXMKYWxzbyBmaXhlcyBhIHdhcm5pbmcgb24gdmFyaWFi bGUgaSBiZWluZyBuZXZlciByZWFkIGluIHRoZSBmdW5jdGlvbi4KClNpZ25lZC1vZmYtYnk6IExv w69jIE1pbmllciA8bG9pYy5taW5pZXJAbGluYXJvLm9yZz4KLS0tCiBjb21tb24vY29uc29sZS5j IHwgICAgNCArKystCiBpbmNsdWRlL3N0ZGlvLmggIHwgICAgMiArLQogMiBmaWxlcyBjaGFuZ2Vk LCA0IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvY29tbW9uL2Nv bnNvbGUuYyBiL2NvbW1vbi9jb25zb2xlL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