summaryrefslogtreecommitdiffstats
path: root/bin/ls/util.c
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2012-11-08 23:45:19 +0000
committergrog <grog@FreeBSD.org>2012-11-08 23:45:19 +0000
commitd5943d9209bea666b189f541ac3a5d3cd02083ff (patch)
treef7685da3d8aebfc5f5dbcbb449d3cc1281e3b0d5 /bin/ls/util.c
parent9f61746f5a7c133c4334b42306477cf36abda421 (diff)
downloadFreeBSD-src-d5943d9209bea666b189f541ac3a5d3cd02083ff.zip
FreeBSD-src-d5943d9209bea666b189f541ac3a5d3cd02083ff.tar.gz
Replace spaces with tabs where appropriate.
Reminded by: jh@
Diffstat (limited to 'bin/ls/util.c')
-rw-r--r--bin/ls/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c
index 7fa6606..a50eca4 100644
--- a/bin/ls/util.c
+++ b/bin/ls/util.c
@@ -132,7 +132,7 @@ prn_printable(const char *s)
* to fix this as an efficient fix would involve a lookup table. Same goes
* for the rather inelegant code in prn_octal.
*
- * DES 1998/04/23
+ * DES 1998/04/23
*/
size_t
@@ -200,9 +200,9 @@ prn_octal(const char *s)
for (i = 0; i < prtlen; i++) {
ch = (unsigned char)s[i];
putchar('\\');
- putchar('0' + (ch >> 6));
- putchar('0' + ((ch >> 3) & 7));
- putchar('0' + (ch & 7));
+ putchar('0' + (ch >> 6));
+ putchar('0' + ((ch >> 3) & 7));
+ putchar('0' + (ch & 7));
len += 4;
}
}
OpenPOWER on IntegriCloud