From 49da2834a5b36789fbd67e0e00a4b4d312b51e78 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Sun, 3 Jun 2012 19:58:19 +0400 Subject: [PATCH] fd: Cleanup in dump_one_file Signed-off-by: Pavel Emelyanov --- cr-dump.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cr-dump.c b/cr-dump.c index 0065fda1d..8e7a02fee 100644 --- a/cr-dump.c +++ b/cr-dump.c @@ -495,8 +495,7 @@ static int dump_one_file(pid_t pid, int fd, int lfd, char fd_flags, return dump_unsupp_fd(&p); } - if (S_ISREG(p.stat.st_mode) || - S_ISDIR(p.stat.st_mode)) + if (S_ISREG(p.stat.st_mode) || S_ISDIR(p.stat.st_mode)) return dump_reg_file(&p, lfd, cr_fdset); if (S_ISFIFO(p.stat.st_mode) && (statfs.f_type == PIPEFS_MAGIC))