Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
xen.7653
blktapctrl-disable-debug-printf.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File blktapctrl-disable-debug-printf.patch of Package xen.7653
Index: xen-4.2.0-testing/tools/blktap/drivers/blktapctrl.c =================================================================== --- xen-4.2.0-testing.orig/tools/blktap/drivers/blktapctrl.c +++ xen-4.2.0-testing/tools/blktap/drivers/blktapctrl.c @@ -61,6 +61,9 @@ #include "list.h" #include "xs_api.h" /* for xs_fire_next_watch() */ +#undef DPRINTF +#define DPRINTF(_f, _a...) ((void)0) + #define PIDFILE "/var/run/blktapctrl.pid" #define NUM_POLL_FDS 2 Index: xen-4.2.0-testing/tools/qemu-xen-traditional-dir-remote/hw/xen_blktap.c =================================================================== --- xen-4.2.0-testing.orig/tools/qemu-xen-traditional-dir-remote/hw/xen_blktap.c +++ xen-4.2.0-testing/tools/qemu-xen-traditional-dir-remote/hw/xen_blktap.c @@ -46,7 +46,7 @@ #define BLKTAP_CTRL_DIR "/var/run/tap" /* If enabled, print debug messages to stderr */ -#if 1 +#if 0 #define DPRINTF(_f, _a...) fprintf(stderr, __FILE__ ":%d: " _f, __LINE__, ##_a) #else #define DPRINTF(_f, _a...) ((void)0)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor