summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/aucat/aucat.14
-rw-r--r--usr.bin/aucat/aucat.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/aucat/aucat.1 b/usr.bin/aucat/aucat.1
index 29632292b48..c81b24d6ea1 100644
--- a/usr.bin/aucat/aucat.1
+++ b/usr.bin/aucat/aucat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: aucat.1,v 1.1 1997/01/02 22:12:27 kstailey Exp $
+.\" $OpenBSD: aucat.1,v 1.2 1997/01/05 19:00:50 kstailey Exp $
.\"
.\" Copyright (c) 1997 Kenneth Stailey. All rights reserved.
.\"
@@ -56,6 +56,8 @@ entire file is copied to /dev/audio.
The
.Nm aucat
utility exits 0 on success, and >0 if an error occurs.
+.Sh SEE ALSO
+.Xr audio 4
.Sh HISTORY
A
.Nm
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c
index 0ec78577dee..6730c5ffc1b 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.2 1997/01/03 21:05:28 kstailey Exp $ */
+/* $OpenBSD: aucat.c,v 1.3 1997/01/05 19:00:51 kstailey Exp $ */
/*
* Copyright (c) 1997 Kenneth Stailey. All rights reserved.
*
@@ -87,7 +87,7 @@ main(int argc, char **argv)
lseek(fd, 0, SEEK_SET);
} else {
read(fd, &data, sizeof(data));
- data = htonl(data);
+ data = ntohl(data);
lseek(fd, (off_t)data, SEEK_SET);
}
if (playfile(fd) < 0)