It doesn't help anything. Signed-off-by: Lukáš Hrázký <lhrazky@xxxxxxxxxx> --- src/spice-streaming-agent.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp index aef49c7..ca10d3b 100644 --- a/src/spice-streaming-agent.cpp +++ b/src/spice-streaming-agent.cpp @@ -386,8 +386,6 @@ do_capture(StreamPort &stream_port, FrameLog &frame_log) } } -#define arg_error(...) syslog(LOG_ERR, ## __VA_ARGS__); - int main(int argc, char* argv[]) { const char *stream_port_name = "/dev/virtio-ports/org.spice-space.stream.0"; @@ -431,7 +429,7 @@ int main(int argc, char* argv[]) case 'c': { char *p = strchr(optarg, '='); if (p == NULL) { - arg_error("wrong 'c' argument %s\n", optarg); + syslog(LOG_ERR, "wrong 'c' argument %s\n", optarg); usage(argv[0]); } *p++ = '\0'; -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel