diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-01-05 19:00:52 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-01-05 19:00:52 +0000 |
commit | 43f8cb8178f3c7760c48e7796187141865c84fa8 (patch) | |
tree | 53ea7d647cfd34208510d7ca07824916f94b63c5 /usr.bin/aucat | |
parent | d477b56cac6c81b3c26380477da5f767bfc7cc7e (diff) |
minor tweaks; htonl() -> ntohl(); added SEE ALSO
Diffstat (limited to 'usr.bin/aucat')
-rw-r--r-- | usr.bin/aucat/aucat.1 | 4 | ||||
-rw-r--r-- | usr.bin/aucat/aucat.c | 4 |
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) |