diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-09-23 04:30:29 -0400 |
---|---|---|
committer | Thanos Makatos <thanos.makatos@nutanix.com> | 2020-09-23 05:11:51 -0400 |
commit | 28ac83be1afb0340a50ad23688a41a367c2e0521 (patch) | |
tree | 13dd9c872f4f668defcab45bd86a01ddfdf74c80 /samples | |
parent | 98ba0611c10d03f2f7f095033673654a945600b4 (diff) | |
download | libvfio-user-28ac83be1afb0340a50ad23688a41a367c2e0521.zip libvfio-user-28ac83be1afb0340a50ad23688a41a367c2e0521.tar.gz libvfio-user-28ac83be1afb0340a50ad23688a41a367c2e0521.tar.bz2 |
drop newline from gpio logging function
libmuser always adds a newline
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/gpio-pci-idio-16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/gpio-pci-idio-16.c b/samples/gpio-pci-idio-16.c index 59b70a9..3eb4cf0 100644 --- a/samples/gpio-pci-idio-16.c +++ b/samples/gpio-pci-idio-16.c @@ -46,7 +46,7 @@ static void _log(void *pvt, lm_log_lvl_t lvl __attribute__((unused)), char const *msg) { - fprintf(stderr, "gpio: %s", msg); + fprintf(stderr, "gpio: %s\n", msg); } ssize_t |