@ -148,7 +149,21 @@ serial_open(const char*devpath, unsigned long baud, signed short timeout, bool p
@@ -148,7 +149,21 @@ serial_open(const char*devpath, unsigned long baud, signed short timeout, bool p
@ -179,15 +194,28 @@ serial_open(const char*devpath, unsigned long baud, signed short timeout, bool p
@@ -179,15 +194,28 @@ serial_open(const char*devpath, unsigned long baud, signed short timeout, bool p
intfdDev=open(devpath,O_RDWR|O_CLOEXEC|O_NOCTTY);
if(unlikely(fdDev==-1))
{
if(errno==EACCES)
applog(LOG_ERR,"Do not have user privileges required to open %s",devpath);