projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3600ab8
)
null indirection
author
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Tue, 9 Apr 1991 02:35:26 +0000
(18:35 -0800)
committer
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Tue, 9 Apr 1991 02:35:26 +0000
(18:35 -0800)
SCCS-vsn: bin/ps/keyword.c 5.5
usr/src/bin/ps/keyword.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/bin/ps/keyword.c
b/usr/src/bin/ps/keyword.c
index
4d27658
..
81ba4aa
100644
(file)
--- a/
usr/src/bin/ps/keyword.c
+++ b/
usr/src/bin/ps/keyword.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)keyword.c 5.
4
(Berkeley) %G%";
+static char sccsid[] = "@(#)keyword.c 5.
5
(Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
@@
-248,9
+248,9
@@
showkey()
if (termwidth && (i += len + 1) > termwidth) {
i = len;
sep = "\n";
if (termwidth && (i += len + 1) > termwidth) {
i = len;
sep = "\n";
- }
+ } else
+ sep = " ";
(void) printf("%s%s", sep, p);
(void) printf("%s%s", sep, p);
- sep = " ";
}
(void) printf("\n");
}
}
(void) printf("\n");
}