aboutsummaryrefslogtreecommitdiff
path: root/samples/null.c
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-07-08 09:51:58 -0400
committerThanos Makatos <thanos.makatos@nutanix.com>2020-07-08 09:51:58 -0400
commit115d6188f48f58b16e70aa8447f47e3f219acc4d (patch)
tree360eca84448545f5ae5a68285da27951061c4715 /samples/null.c
parentc12f7e283c80ead6689c70b53f0a5e35b2996912 (diff)
downloadlibvfio-user-115d6188f48f58b16e70aa8447f47e3f219acc4d.zip
libvfio-user-115d6188f48f58b16e70aa8447f47e3f219acc4d.tar.gz
libvfio-user-115d6188f48f58b16e70aa8447f47e3f219acc4d.tar.bz2
null device: add muser prefix in log callback
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'samples/null.c')
-rw-r--r--samples/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/null.c b/samples/null.c
index 2954da8..c00c984 100644
--- a/samples/null.c
+++ b/samples/null.c
@@ -45,7 +45,7 @@
static void
null_log(void *pvt, lm_log_lvl_t lvl __attribute__((unused)), char const *msg)
{
- fprintf(stderr, "%s", msg);
+ fprintf(stderr, "muser: %s", msg);
}