summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-25 04:21:38 +0000
committerDavid Robillard <d@drobilla.net>2013-12-25 04:21:38 +0000
commit2b44566ea7b73233128d0096f76da42ba3898531 (patch)
tree5f266ea4d3a5ff0224271e0d3b5535c629e81604 /src/server
parentbfebcd3221c682375656a3a7a038d514ae94c148 (diff)
downloadingen-2b44566ea7b73233128d0096f76da42ba3898531.tar.gz
ingen-2b44566ea7b73233128d0096f76da42ba3898531.tar.bz2
ingen-2b44566ea7b73233128d0096f76da42ba3898531.zip
Fix unportable use of NULL va_list (#921).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5198 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/ingen_lv2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 22d86c9c..e1a8061f 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -517,10 +517,10 @@ ingen_instantiate(const LV2_Descriptor* descriptor,
const std::string msg((fmt("Could not find graph %1%\n")
% descriptor->URI).str());
if (log) {
- log->vprintf(log->handle,
- map->map(map->handle, LV2_LOG__Error),
- msg.c_str(),
- NULL);
+ log->printf(log->handle,
+ map->map(map->handle, LV2_LOG__Error),
+ msg.c_str(),
+ NULL);
} else {
std::cerr << msg.c_str() << std::endl;
}