From f6a4f1363e2e380cad2fe973cd0b0b3a6e4a37ea Mon Sep 17 00:00:00 2001 From: liuhao Date: Tue, 22 Jan 2019 20:14:53 +0800 Subject: [PATCH 054/139] fix invalid log message fix invalid log message Signed-off-by: liuhao Signed-off-by: LiFeng --- src/lxc/conf.c | 1 - src/lxc/utils.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 6ea8f9c..1e403eb 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -2708,7 +2708,6 @@ static int mount_file_entries(const struct lxc_conf *conf, free(mntent.mnt_fsname); return -1; } - ERROR("mntent.mnt_fsname:%s, mntent.mnt_dir:%s", mntent.mnt_fsname, mntent.mnt_dir); if (!rootfs->path) ret = mount_entry_on_systemfs(&mntent); else if (mntent.mnt_dir[0] != '/') diff --git a/src/lxc/utils.c b/src/lxc/utils.c index 24e975b..4db61c5 100644 --- a/src/lxc/utils.c +++ b/src/lxc/utils.c @@ -1777,7 +1777,7 @@ int recursive_destroy(char *dirname) dir = opendir(dirname); if (!dir) { if (errno == ENOENT) { - WARN("Destroy path: %s do not exist"); + WARN("Destroy path: \"%s\" do not exist", dirname); return 0; } SYSERROR("Failed to open dir \"%s\"", dirname); -- 1.8.3.1