]> www.infradead.org Git - mtd-utils.git/commit
mtd-utils: sys_errmsg: optimize indentation
authorMike Frysinger <vapier@gentoo.org>
Fri, 1 Oct 2010 05:39:49 +0000 (01:39 -0400)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 1 Oct 2010 06:31:25 +0000 (09:31 +0300)
commit90ebf6f62007726bea619dcb5beb6e858bedfd6d
tree9e5a23c8502e56c5d120bf5090a618bd44c49388
parenta25a7e66a277c0637d6c210a1f59564ac5359863
mtd-utils: sys_errmsg: optimize indentation

Rather than do a for loop and output 1 space at a time, let the printf
code take care of indenting the string based on the constant length.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
include/common.h