summaryrefslogtreecommitdiffstats
path: root/test/attest.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-07-26 13:32:44 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-07-26 13:32:44 +0000
commitb102348e988e4abc5d579ce13c067ce2c885aaf7 (patch)
treef7df67ce818aa8720f956171765889684c528ee1 /test/attest.c
parentabaf87668c896d8cebcfa1081eec195cd0008740 (diff)
Fix declared with attribute warn_unused_result errors
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++) {