diff options
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r-- | debianutils/start_stop_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index e0c8f2d9b..dcff1dd86 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -45,7 +45,7 @@ static int pid_is_exec(pid_t pid, const char *name) | |||
45 | sprintf(buf, "/proc/%d/exe", pid); | 45 | sprintf(buf, "/proc/%d/exe", pid); |
46 | execbuf = xstrdup(name); | 46 | execbuf = xstrdup(name); |
47 | readlink(buf, execbuf, strlen(name)+1); | 47 | readlink(buf, execbuf, strlen(name)+1); |
48 | 48 | ||
49 | equal = ! strcmp(execbuf, name); | 49 | equal = ! strcmp(execbuf, name); |
50 | if (ENABLE_FEATURE_CLEAN_UP) | 50 | if (ENABLE_FEATURE_CLEAN_UP) |
51 | free(execbuf); | 51 | free(execbuf); |