From 0b60bf1d23524dce48e069abba9f7e838d0d2721 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 29 Jan 2019 17:03:16 +0000 Subject: Added code to read/write. Not yet working. --- test/sidtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sidtest.c') 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("\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); -- cgit v1.2.3