diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-09-14 19:17:08 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 14:24:29 +0200 |
commit | c8773d5c22a2d6ded9bb3060842f1f62bc5dd945 (patch) | |
tree | 26f303ba3d5e44fa5d69fb8255b4cab5fabfaa45 /commands | |
parent | 242d9e7531fbc394214d2a54d3ff56a5690f397a (diff) | |
download | barebox-c8773d5c22a2d6ded9bb3060842f1f62bc5dd945.tar.gz barebox-c8773d5c22a2d6ded9bb3060842f1f62bc5dd945.tar.xz |
ls: align file size correctly on non-ARM 64-bit platforms
CONFIG_CPU_64 is ARM-specific. Use the generic CONFIG_64BIT instead
for aligning the file size.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/ls.c b/commands/ls.c index 59163f678d..bedf2e1c42 100644 --- a/commands/ls.c +++ b/commands/ls.c @@ -15,7 +15,7 @@ /* * SIZELEN = strlen(itoa(MAX_LFS_FILESIZE)) + 1; */ -#ifdef CONFIG_CPU_64 +#ifdef CONFIG_64BIT #define SIZELEN 20 #else #define SIZELEN 14 |