On Thu, Jan 17, 2019 at 04:41:13PM -0800, Andrey Smirnov wrote: > Maximum file size on 64-bit system is 2^63-1 (9223372036854775807), > which takes more that 14 characters of space. In order to keep things > properly aligned adjust that spacing to 20 on 64-bit platforms. > > Before: > > ls -l /dev/ > d--------- 0 . > d--------- 0 .. > crw------- 16384 dds-eeprom > crw------- 256 e1000-invm0 > crw------- 16384 eeprom0 > cr-------- 0 full > crw------- 2048 imx-ocotp > crw------- 16384 main-eeprom > crw------- 64 mdio0-phy00 > crw------- 9223372036854775807 mem > c-w------- 0 netconsole-1 > c-w------- 0 null > crw------- 256060514304 nvme0n1 > cr-------- 0 prng > crw------- 4294967296 ram0 > c-w------- 0 serial0-1 > cr-------- 0 zero > > After: > > ls -l /dev/ > d--------- 0 . > d--------- 0 .. > crw------- 16384 dds-eeprom > crw------- 256 e1000-invm0 > crw------- 16384 eeprom0 > cr-------- 0 full > crw------- 2048 imx-ocotp > crw------- 16384 main-eeprom > crw------- 64 mdio0-phy00 > crw------- 9223372036854775807 mem > c-w------- 0 netconsole-1 > c-w------- 0 null > crw------- 256060514304 nvme0n1 > cr-------- 0 prng > crw------- 4294967296 ram0 > c-w------- 0 serial0-1 > cr-------- 0 zero > > Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> > --- > commands/ls.c | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox