[CRIU] [PATCH] bfd: print errno if data can not be flushed
Andrey Vagin
avagin at openvz.org
Tue Oct 28 12:50:57 PDT 2014
Mr Jenkins reports errors like this:
(02.423007) Error (bfd.c:118): Error flushing image
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
bfd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bfd.c b/bfd.c
index d7fa16c..1a6d78b 100644
--- a/bfd.c
+++ b/bfd.c
@@ -115,7 +115,7 @@ void bclose(struct bfd *f)
* flag, failing further bfdopen-s and
* checking one at the end would work.
*/
- pr_err("Error flushing image\n");
+ pr_perror("Error flushing image");
buf_put(&f->b);
}
close(f->fd);
--
1.9.3
More information about the CRIU
mailing list