Change some warnings to errors to always print them on screen

This commit is contained in:
Andrea Mazzoleni 2015-04-19 21:13:05 +02:00
parent 2e248b42ae
commit a5a72f4a31
4 changed files with 17 additions and 17 deletions

View file

@ -181,7 +181,7 @@ static void make_link(const char* pool_dir, const char* share_dir, struct snapra
ret = symlink(linkto_exported, path);
if (ret != 0) {
if (errno == EEXIST) {
msg_warning("WARNING! Duplicate pooling for '%s'\n", path);
msg_error("WARNING! Duplicate pooling for '%s'\n", path);
#ifdef _WIN32
} else if (errno == EPERM) {
/* LCOV_EXCL_START */