summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-09-14 19:17:08 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:24:29 +0200
commitc8773d5c22a2d6ded9bb3060842f1f62bc5dd945 (patch)
tree26f303ba3d5e44fa5d69fb8255b4cab5fabfaa45 /commands
parent242d9e7531fbc394214d2a54d3ff56a5690f397a (diff)
downloadbarebox-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.c2
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