aboutsummaryrefslogtreecommitdiff
path: root/shells/sash/files/patch-cmd_ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'shells/sash/files/patch-cmd_ls.c')
-rw-r--r--shells/sash/files/patch-cmd_ls.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/shells/sash/files/patch-cmd_ls.c b/shells/sash/files/patch-cmd_ls.c
new file mode 100644
index 000000000000..28b244364c49
--- /dev/null
+++ b/shells/sash/files/patch-cmd_ls.c
@@ -0,0 +1,20 @@
+--- cmd_ls.c.orig Fri Sep 3 15:18:46 2004
++++ cmd_ls.c Fri Sep 3 15:19:18 2004
+@@ -380,7 +380,7 @@
+ */
+ if (flags & LSF_INODE)
+ {
+- sprintf(cp, "%7ld ", statBuf->st_ino);
++ sprintf(cp, "%7d ", statBuf->st_ino);
+ cp += strlen(cp);
+ }
+
+@@ -434,7 +434,7 @@
+ ((unsigned long) statBuf->st_rdev) & 0xff);
+ }
+ else
+- sprintf(cp, "%8ld ", statBuf->st_size);
++ sprintf(cp, "%8lld ", statBuf->st_size);
+
+ cp += strlen(cp);
+