[CRIU] [PATCH 09/11] log: files-ext -- Show exactly which file can't be dumped

Cyrill Gorcunov gorcunov at openvz.org
Tue Aug 2 08:34:35 PDT 2016


From: Cyrill Gorcunov <gorcunov at virtuozzo.com>

Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
---
 criu/files-ext.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/files-ext.c b/criu/files-ext.c
index 4c129fa64f0d..db375becd4f2 100644
--- a/criu/files-ext.c
+++ b/criu/files-ext.c
@@ -87,7 +87,7 @@ int dump_unsupp_fd(struct fd_parms *p, int lfd,
 	if (ret == 0)
 		return 0;
 	if (ret == -ENOTSUP)
-		pr_err("Can't dump file %d of that type [%o] (%s %s)\n",
-			p->fd, p->stat.st_mode, more, info);
+		pr_err("Can't dump file %d (%s) of that type [%o] (%s %s)\n",
+			p->fd, __read_fd_link(lfd), p->stat.st_mode, more, info);
 	return -1;
 }
-- 
2.7.4



More information about the CRIU mailing list