aboutsummaryrefslogtreecommitdiff
path: root/eim/sw
diff options
context:
space:
mode:
Diffstat (limited to 'eim/sw')
-rw-r--r--eim/sw/hash_eim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/eim/sw/hash_eim.c b/eim/sw/hash_eim.c
index e698129..42dedf2 100644
--- a/eim/sw/hash_eim.c
+++ b/eim/sw/hash_eim.c
@@ -44,9 +44,7 @@
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
-#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
-#include <arpa/inet.h>
#include <ctype.h>
#include <assert.h>
@@ -204,7 +202,7 @@ static int hash(char *algo, char *file, uint8_t *digest)
* cores always assert valid before ready.
*/
if (tc_read(daddr, digest, dlen) != 0) {
- perror("i2c read failed");
+ perror("eim read failed");
goto out;
}