View | Details | Raw Unified | Return to bug 19422 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/src/bin/ps/fmt.c (-1 / +1 lines)
Lines 80-86 Link Here
80
	for (p = argv; (src = *p++) != 0; ) {
80
	for (p = argv; (src = *p++) != 0; ) {
81
		if (*src == 0)
81
		if (*src == 0)
82
			continue;
82
			continue;
83
		strvis(dst, src, VIS_NL | VIS_CSTYLE);
83
		strvisx(dst, src, arg_max - strlen(buf) - 1, VIS_NL | VIS_CSTYLE);
84
		while (*dst)
84
		while (*dst)
85
			dst++;
85
			dst++;
86
		*dst++ = ' ';
86
		*dst++ = ' ';

Return to bug 19422