From f0af1e57a8e73e6fd11de092f44ed157c190f010 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 22 Jan 2004 11:21:36 +0000 Subject: [PATCH] Use int instead of pid_t. At the first glance, this looks like a step backward, but since we use the variable for printing with a "%d" format-string anyway and there is no way how to get the right format string for pid_t, it's better this way. --- lib/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index 15938366..2f6e9fd5 100644 --- a/lib/log.c +++ b/lib/log.c @@ -20,7 +20,7 @@ static char log_progname[32], *log_name_patt, *log_name; char *log_title; -static pid_t log_pid; +static int log_pid; static int log_params; static int log_name_size; static int log_switching; -- 2.39.2