Ignore:
Timestamp:
Dec 7, 2008, 7:26:17 PM (16 years ago)
Author:
katerina
Message:

Fix compile failures on RHEL3 (ticket #130) and FreeBSD7 amd64 (ticket #131).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_processcheck.c

    r183 r203  
    196196  char *      tmp;
    197197
    198   sl_snprintf (path, sizeof(path), "/proc/%ld/exe", (unsigned long) pid);
     198  sl_snprintf (path, sizeof(path), _("/proc/%ld/exe"), (unsigned long) pid);
    199199
    200200  if (0 == retry_lstat(FIL__, __LINE__, path, &sbuf) && S_ISLNK(sbuf.st_mode))
     
    203203    }
    204204
    205   sl_snprintf (path, sizeof(path), "/proc/%ld/file", (unsigned long) pid);
     205  sl_snprintf (path, sizeof(path), _("/proc/%ld/file"), (unsigned long) pid);
    206206
    207207  if (0 == retry_lstat(FIL__, __LINE__, path, &sbuf) && S_ISLNK(sbuf.st_mode))
     
    210210    }
    211211
    212   sl_snprintf (path, sizeof(path), "/proc/%ld/path/a.out", (unsigned long) pid);
     212  sl_snprintf (path, sizeof(path), _("/proc/%ld/path/a.out"), (unsigned long) pid);
    213213
    214214  if (0 == retry_lstat(FIL__, __LINE__, path, &sbuf) && S_ISLNK(sbuf.st_mode))
Note: See TracChangeset for help on using the changeset viewer.