diff options
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ls/util.c b/bin/ls/util.c index 44f9ed2..3cd5659 100644 --- a/bin/ls/util.c +++ b/bin/ls/util.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)util.c 8.3 (Berkeley) 4/2/94"; #else static const char rcsid[] = - "$Id: util.c,v 1.15 1998/04/24 20:15:43 des Exp $"; + "$Id: util.c,v 1.16 1998/04/25 00:10:24 ache Exp $"; #endif #endif /* not lint */ @@ -87,7 +87,7 @@ len_octal(s, len) char *s; int len; { - int r; + int r = 0; while (len--) if (isprint((unsigned char)*s++)) r++; else r += 4; |