From: AustinReichert Date: Tue, 28 Nov 2017 09:19:29 +0000 (-0600) Subject: tools/lxc_destroy: remove internal logging X-Git-Tag: lxc-2.0.10~557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d34bf7ab0e3c3910417a3e19709b50dd704b472;p=thirdparty%2Flxc.git tools/lxc_destroy: remove internal logging Signed-off-by: AustinReichert --- diff --git a/src/lxc/tools/lxc_destroy.c b/src/lxc/tools/lxc_destroy.c index fee4d8049..02f9e25e7 100644 --- a/src/lxc/tools/lxc_destroy.c +++ b/src/lxc/tools/lxc_destroy.c @@ -32,8 +32,6 @@ #include "lxc.h" #include "utils.h" -lxc_log_define(lxc_destroy_ui, lxc); - static int my_parser(struct lxc_arguments* args, int c, char* arg); static bool quiet; @@ -230,14 +228,14 @@ static bool do_destroy_with_snapshots(struct lxc_container *c) /* Make sure that the string is \0 terminated. */ buf = calloc(fbuf.st_size + 1, sizeof(char)); if (!buf) { - SYSERROR("failed to allocate memory"); + fprintf(stderr, "failed to allocate memory\n"); close(fd); return false; } ret = read(fd, buf, fbuf.st_size); if (ret < 0) { - ERROR("could not read %s", path); + fprintf(stderr, "could not read %s\n", path); close(fd); free(buf); return false;