9727dcaebd
author has integrated the ffs patches.
22 lines
525 B
Plaintext
22 lines
525 B
Plaintext
$OpenBSD: patch-cmd_ls_c,v 1.1 2002/07/21 08:44:35 wcobb Exp $
|
|
--- cmd_ls.c.orig Sun Jul 21 05:33:34 2002
|
|
+++ cmd_ls.c Sun Jul 21 05:34:27 2002
|
|
@@ -380,7 +380,7 @@ listFile(
|
|
*/
|
|
if (flags & LSF_INODE)
|
|
{
|
|
- sprintf(cp, "%7ld ", statBuf->st_ino);
|
|
+ sprintf(cp, "%7d ", statBuf->st_ino);
|
|
cp += strlen(cp);
|
|
}
|
|
|
|
@@ -434,7 +434,7 @@ listFile(
|
|
((unsigned long) statBuf->st_rdev) & 0xff);
|
|
}
|
|
else
|
|
- sprintf(cp, "%8ld ", statBuf->st_size);
|
|
+ sprintf(cp, "%8lld ", statBuf->st_size);
|
|
|
|
cp += strlen(cp);
|
|
|