diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile | 3 | ||||
-rw-r--r-- | test/sidtest.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile index 60e233d..670f38d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1 +1,4 @@ sidtest: sidtest.c + +clean: + rm -f sidtest diff --git a/test/sidtest.c b/test/sidtest.c index 767417c..7a843a9 100644 --- a/test/sidtest.c +++ b/test/sidtest.c @@ -58,8 +58,8 @@ int main(int argc, char *argv[]) if ((wrote = write(fd, setsound, sizeof setsound)) != sizeof setsound) { - printf("Only wrote %d of %zu bytes\n", wrote, sizeof setsound); perror("write"); + printf("Only wrote %d of %zu bytes\n", wrote, sizeof setsound); } printf("<RET>\n"); @@ -67,8 +67,8 @@ int main(int argc, char *argv[]) if ((wrote = write(fd, clearsound, sizeof clearsound)) != sizeof clearsound) { - printf("Only wrote %d of %zu bytes\n", wrote, sizeof clearsound); perror("write"); + printf("Only wrote %d of %zu bytes\n", wrote, sizeof clearsound); } close(fd); |