From: Lars Op den Kamp Date: Wed, 25 Jan 2012 13:20:11 +0000 (+0100) Subject: cec: fixed error message in cec-client (unable to open the device on port ...) X-Git-Tag: upstream/2.2.0~1^2~39^2~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b5e7f745432c989c382b7729d64ea4a45c9dd49b;p=deb_libcec.git cec: fixed error message in cec-client (unable to open the device on port ...) --- diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 14abf16..4b13f3a 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -1080,7 +1080,7 @@ int main (int argc, char *argv[]) if (!parser->Open(g_strPort.c_str())) { CStdString strLog; - strLog.Format("unable to open the device on port %s"); + strLog.Format("unable to open the device on port %s", g_strPort.c_str()); PrintToStdOut(strLog); UnloadLibCec(parser); return 1;