diff --git a/Makefile.RHEL7.michele b/Makefile.RHEL7.michele index 8d6a911..c8bdf23 100644 --- a/Makefile.RHEL7.michele +++ b/Makefile.RHEL7.michele @@ -2,7 +2,7 @@ include /ioc/tools/driver.makefile MODULE=sinq -LIBVERSION=brambilla_m +LIBVERSION=brambilla_m_test BUILDCLASSES=Linux EPICS_VERSIONS=3.14.12 7.0.4.1 ARCH_FILTER=RHEL7-x86_64 diff --git a/sinqEPICSApp/src/devScalerEL737.c b/sinqEPICSApp/src/devScalerEL737.c index 7179eef..95bf088 100644 --- a/sinqEPICSApp/src/devScalerEL737.c +++ b/sinqEPICSApp/src/devScalerEL737.c @@ -40,6 +40,7 @@ */ #include +#include #include #include #include @@ -490,8 +491,8 @@ static void runEvents(EL737priv *priv) if(status != asynSuccess){ - errlogPrintf("devScalerEL737::el737Thread communication problem %s\n", - priv->asynContext->errorMessage); + errlogPrintf("devScalerEL737::el737Thread communication problem %s\n, errno =%d", + priv->asynContext->errorMessage, errno); } } @@ -505,8 +506,8 @@ static void updateValues(EL737priv *priv) strcpy(command,"RA"); status = el737_transactCommand(priv,command,reply); if(status != asynSuccess){ - errlogPrintf("devScalerEL737::el737Thread communication problem %s\n", - priv->asynContext->errorMessage); + errlogPrintf("devScalerEL737::el737Thread communication problem %s, errno = %d\n", + priv->asynContext->errorMessage, errno); return; } status = sscanf(reply, "%f %ld %ld %ld %ld %ld %ld %ld %ld",