--- a/server/mtinkd.c +++ b/server/mtinkd.c @@ -244,7 +244,7 @@ /* look for pid into /var/run/mtink( */ if ( (fp = fopen(runFile,"r")) ) { - if ( fgets(ibuf, sizeof(buf), fp) ) + if ( fgets(ibuf, sizeof(ibuf), fp) ) { if ( (pid = atoi(ibuf)) ) {