From: kstailey Date: Sun, 5 Jan 1997 19:00:50 +0000 (+0000) Subject: minor tweaks; htonl() -> ntohl(); added SEE ALSO X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ec83488dd69f244ea0a84c4383fd6e838d33f8fc;p=openbsd minor tweaks; htonl() -> ntohl(); added SEE ALSO --- 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)