summaryrefslogtreecommitdiff
blob: d57e2cd0139e8957f127e7fe969e7d04f0a03810 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/server/mtinkd.c	2012-01-15 13:03:41.000000000 +0000
+++ b/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)) )
                {