23 lines
790 B
Text
23 lines
790 B
Text
$NetBSD: patch-ac,v 1.1 2004/01/11 20:46:49 zuntum Exp $
|
|
|
|
--- util.c.orig 2000-10-31 13:06:05.000000000 +0100
|
|
+++ util.c
|
|
@@ -330,12 +330,12 @@ void WritePID()
|
|
fclose(f);
|
|
if(pid>0 && useFifo)
|
|
{
|
|
- fprintf(stderr,"\
|
|
-ERROR: imwheel is already running or there is a stale pid file
|
|
- check on processes listed below.
|
|
- run with -k to kill running imwheels.
|
|
- remove pid file %s.
|
|
- or run with -p to avoid the pid file altogether.\n",PIDFILE);
|
|
+ fprintf(stderr,
|
|
+"ERROR: imwheel is already running or there is a stale pid file\n"
|
|
+" check on processes listed below.\n"
|
|
+" run with -k to kill running imwheels.\n"
|
|
+" remove pid file %s.\n"
|
|
+" or run with -p to avoid the pid file altogether.\n",PIDFILE);
|
|
if((f=fopen(PIDFILE,"r")))
|
|
{
|
|
while(fscanf(f,"%d",&pid)>0)
|