summaryrefslogtreecommitdiff
blob: 181ab0d789d46f7be089e3ceab6f17838767c49b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- server/mtinkd.c.orig	2012-01-15 13:03:41.000000000 +0000
+++ server/mtinkd.c	2012-01-15 13:03:58.000000000 +0000
@@ -244,7 +244,7 @@
          /* look for pid into /var/run/mtink(<fifo> */
          if ( (fp = fopen(runFile,"r")) )
          {
-            if ( fgets(ibuf, sizeof(buf), fp) )
+            if ( fgets(ibuf, sizeof(ibuf), fp) )
             {
                if ( (pid = atoi(ibuf)) )
                {