diff options
Diffstat (limited to 'daemon/debug.c')
-rw-r--r-- | daemon/debug.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/debug.c b/daemon/debug.c index 68320a31..13b7240f 100644 --- a/daemon/debug.c +++ b/daemon/debug.c @@ -157,11 +157,11 @@ debug_fds (const char *subcmd, int argc, char *const *const argv) if (S_ISLNK (statbuf.st_mode)) { r = readlink (fname, link, sizeof link - 1); if (r == -1) { - reply_with_perror ("readline: %s", fname); - fclose (fp); - free (out); - closedir (dir); - return NULL; + reply_with_perror ("readline: %s", fname); + fclose (fp); + free (out); + closedir (dir); + return NULL; } link[r] = '\0'; |