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/aucat.c | |
parent | d477b56cac6c81b3c26380477da5f767bfc7cc7e (diff) |
minor tweaks; htonl() -> ntohl(); added SEE ALSO
Diffstat (limited to 'usr.bin/aucat/aucat.c')
-rw-r--r-- | usr.bin/aucat/aucat.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |