summaryrefslogtreecommitdiffstats
path: root/test/attest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/attest.c')
-rw-r--r--test/attest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/attest.c b/test/attest.c
index 59ab1d29..98fdf5e7 100644
--- a/test/attest.c
+++ b/test/attest.c
@@ -45,7 +45,7 @@ static int at_command(int fd, char *cmd, int to)
char buf[1024];
int sel, len, i, n;
- write(fd, cmd, strlen(cmd));
+ len = write(fd, cmd, strlen(cmd));
for (i = 0; i < 100; i++) {