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 1RETQT-0003NS-QJ for barebox@lists.infradead.org; Thu, 13 Oct 2011 22:06:55 +0000 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Fri, 14 Oct 2011 00:06:38 +0200 Message-Id: <1318543601-20819-3-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 2/5] Avoid warnings by using format(__printf__) To: barebox@lists.infradead.org V2hlbiBidWlsZGluZyBzYW5kYm94LCBiYXJlYm94IGlzIGJ1aWx0IHdpdGggLURwcmludGY9YmFy ZWJveF9wcmludGYgYXMKdG8gbm90IGNvbGxpZGUgd2l0aCB0aGUgcHJpbnRmIHByb3ZpZGVkIGJ5 IGxpYmMuICBUaGlzIHdvdWxkIGFsc28gbWF0Y2gKdGhlIGZvcm1hdChwcmludGYpIGZ1bmN0aW9u IF9fYXR0cmlidXRlX18uCgpTaW5jZSBnY2MgZG9jdW1lbnRzIHRoYXQgX19wcmludGZfXyBjYW4g YmUgdXNlZCBpbnN0ZWFkIG9mIHByaW50ZiBhcyBhCmZvcm1hdCBhdHRyaWJ1dGUsIHVzZSB0aGlz IGluc3RlYWQgYW5kIGF2b2lkIGEgbG90IG9mIG5vaXN5IHdhcm5pbmdzLgoKTkI6IHRoaXMgcmVs YXRlcyB0byA2YjA4MmNmZTlmOWI1YjJiZWEyOTQ5MThhZDkxNmM3Mzk0OTBjZWE3IHdoaWNoIHdh cwphbiBlYXJs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