View | Details | Raw Unified | Return to bug 268666
Collapse All | Expand All

(-)lib/libc/gen/syslog.c (-1 / +1 lines)
Lines 218-224 vsyslog1(int pri, const char *fmt, va_list ap) Link Here
218
	 * specified, as it provides valuable information. Many
218
	 * specified, as it provides valuable information. Many
219
	 * applications tend not to use this, even though they should.
219
	 * applications tend not to use this, even though they should.
220
	 */
220
	 */
221
	if (LogPid == -1)
221
	if (LogTagLength <= 0)
222
		LogPid = getpid();
222
		LogPid = getpid();
223
	(void)fprintf(fp, "%d ", (int)LogPid);
223
	(void)fprintf(fp, "%d ", (int)LogPid);
224
	/* Message ID. */
224
	/* Message ID. */

Return to bug 268666