diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-14 19:34:35 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2012-03-25 19:00:00 +0200 |
commit | b34fd7432d61b992446a3cd9c6f8eb7747ba0a76 (patch) | |
tree | 60a5b34a3e37177ea6a54da9fd8d2b475bfe9257 /server/red_worker.h | |
parent | 359fc1cb5dbbcf32132c3e8ee6f881a23deff684 (diff) | |
download | spice-b34fd7432d61b992446a3cd9c6f8eb7747ba0a76.tar.gz spice-b34fd7432d61b992446a3cd9c6f8eb7747ba0a76.tar.xz spice-b34fd7432d61b992446a3cd9c6f8eb7747ba0a76.zip |
Use the spice-common logging functions
It will abort by default for critical level messages. That behaviour
can be tuned at runtime.
Diffstat (limited to 'server/red_worker.h')
-rw-r--r-- | server/red_worker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/red_worker.h b/server/red_worker.h index 1f63d01f..fd23ede9 100644 --- a/server/red_worker.h +++ b/server/red_worker.h @@ -131,7 +131,7 @@ static inline void send_data(int fd, void *in_buf, int n) if (errno == EINTR) { continue; } - red_error("%s", strerror(errno)); + spice_error("%s", strerror(errno)); } buf += now; n -= now; @@ -152,7 +152,7 @@ static inline void receive_data(int fd, void *in_buf, int n) if (errno == EINTR) { continue; } - red_error("%s", strerror(errno)); + spice_error("%s", strerror(errno)); } buf += now; n -= now; |