Fixed annoying fprintf in ecrt_slave_config_emerg_pop().
--- a/lib/slave_config.c Tue Feb 05 17:08:33 2013 +0100
+++ b/lib/slave_config.c Wed Feb 06 15:58:00 2013 +0100
@@ -482,8 +482,10 @@
ret = ioctl(sc->master->fd, EC_IOCTL_SC_EMERG_POP, &io);
if (EC_IOCTL_IS_ERROR(ret)) {
- fprintf(stderr, "Failed to get emergency message: %s\n",
- strerror(EC_IOCTL_ERRNO(ret)));
+ if (EC_IOCTL_ERRNO(ret) != ENOENT) {
+ fprintf(stderr, "Failed to get emergency message: %s\n",
+ strerror(EC_IOCTL_ERRNO(ret)));
+ }
return -EC_IOCTL_ERRNO(ret);
}