diff options
Diffstat (limited to 'lock.c')
-rw-r--r-- | lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ GetLockId(const char *session_name) } buf[0] = '\0'; - fscanf (fp, "%s\n", buf); + fscanf (fp, "%255s\n", buf); ret = XtNewString (buf); fclose (fp); |