28 lines
842 B
Diff
28 lines
842 B
Diff
|
diff -uNr qemu-3.1.0/fsdev/virtfs-proxy-helper.c qemu-3.1.0.mod/fsdev/virtfs-proxy-helper.c
|
||
|
--- qemu-3.1.0/fsdev/virtfs-proxy-helper.c 2018-12-11 19:44:34.000000000 +0200
|
||
|
+++ qemu-3.1.0.mod/fsdev/virtfs-proxy-helper.c 2018-12-29 00:45:59.721725318 +0200
|
||
|
@@ -62,21 +62,13 @@
|
||
|
va_list ap;
|
||
|
|
||
|
va_start(ap, format);
|
||
|
- if (is_daemon) {
|
||
|
- vsyslog(LOG_CRIT, format, ap);
|
||
|
- } else {
|
||
|
- vfprintf(stderr, format, ap);
|
||
|
- }
|
||
|
+ vfprintf(stderr, format, ap);
|
||
|
va_end(ap);
|
||
|
}
|
||
|
|
||
|
static void do_perror(const char *string)
|
||
|
{
|
||
|
- if (is_daemon) {
|
||
|
- syslog(LOG_CRIT, "%s:%s", string, strerror(errno));
|
||
|
- } else {
|
||
|
- fprintf(stderr, "%s:%s\n", string, strerror(errno));
|
||
|
- }
|
||
|
+ fprintf(stderr, "%s:%s\n", string, strerror(errno));
|
||
|
}
|
||
|
|
||
|
static int do_cap_set(cap_value_t *cap_value, int size, int reset)
|