summaryrefslogtreecommitdiff
path: root/test/sidtest.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2019-01-29 17:03:16 +0000
committerIan C <ianc@noddybox.co.uk>2019-01-29 17:03:16 +0000
commit0b60bf1d23524dce48e069abba9f7e838d0d2721 (patch)
tree1ab0f037cbcce04b7bce226cafd52b7f634a3b88 /test/sidtest.c
parentde32b73eb1a7d414660f418230e3b9137887c13a (diff)
Added code to read/write. Not yet working.
Diffstat (limited to 'test/sidtest.c')
-rw-r--r--test/sidtest.c4
1 files changed, 2 insertions, 2 deletions
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);