From 0aa5e6a671db3dec82392b324cd6cd8b599943c0 Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Fri, 26 Jun 2015 18:16:35 +0100 Subject: vyatta-cfg: correct UnionfsCstore::do_umount error message --- src/cstore/unionfs/cstore-unionfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cstore/unionfs/cstore-unionfs.cpp b/src/cstore/unionfs/cstore-unionfs.cpp index f253454..379f3bf 100644 --- a/src/cstore/unionfs/cstore-unionfs.cpp +++ b/src/cstore/unionfs/cstore-unionfs.cpp @@ -1585,7 +1585,7 @@ UnionfsCstore::do_umount(const FsPath& mdir) dup2(commpipe[0],0); close(commpipe[1]); if (execl(fusermount_path, fusermount_prog, fusermount_umount, mdir.path_cstr(), NULL) != 0) { - output_internal("union mount failed [%s][%s]\n", + output_internal("union umount failed [%s][%s]\n", strerror(errno), mdir.path_cstr()); return false; } -- cgit v1.2.3