From e9755b0b00e308d5ef33c189fb800ed964eb447d Mon Sep 17 00:00:00 2001 From: "Joshua M. Doe" Date: Tue, 29 Jan 2013 14:07:11 -0500 Subject: [PATCH] niimaqdx: show IMAQdx error code as well as string --- sys/niimaqdx/gstniimaqdx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/niimaqdx/gstniimaqdx.c b/sys/niimaqdx/gstniimaqdx.c index 1115ec4..35121e6 100644 --- a/sys/niimaqdx/gstniimaqdx.c +++ b/sys/niimaqdx/gstniimaqdx.c @@ -108,7 +108,7 @@ gst_niimaqdxsrc_report_imaq_error (IMAQdxError code) if (code) { IMAQdxGetErrorString (code, imaqdx_error_string, IMAQDX_MAX_API_STRING_LENGTH); - GST_ERROR ("IMAQdx error: %s", imaqdx_error_string); + GST_ERROR ("IMAQdx error %d: %s", code, imaqdx_error_string); } return code; }