diff options
| author | ross <ross@NetBSD.org> | 2002-01-13 04:48:33 +0000 |
|---|---|---|
| committer | ross <ross@NetBSD.org> | 2002-01-13 04:48:33 +0000 |
| commit | bbd1a97b76c1689ece78e0b4e06bdd049ff3f69f (patch) | |
| tree | 949345a6055bd715aacd74e672982be86b5682fa /usr.bin/audio | |
| parent | f0b8f2b291097ef3a6a60629ce75c3096215e1aa (diff) | |
fix regression, err() -> errx()
Diffstat (limited to 'usr.bin/audio')
| -rw-r--r-- | usr.bin/audio/play/play.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/audio/play/play.c b/usr.bin/audio/play/play.c index e52d872bf75..be93a96fafe 100644 --- a/usr.bin/audio/play/play.c +++ b/usr.bin/audio/play/play.c @@ -1,4 +1,4 @@ -/* $NetBSD: play.c,v 1.27 2002/01/13 04:43:18 ross Exp $ */ +/* $NetBSD: play.c,v 1.28 2002/01/13 04:48:33 ross Exp $ */ /* * Copyright (c) 1999 Matthew R. Green @@ -297,7 +297,7 @@ play_fd(file, fd) if (nr == 0) { if (fflag) return; - else goto read_error; + else errx(1, "unexpected EOF"); } hdrlen = audioctl_write_fromhdr(buffer, nr, ctlfd, &datasize); if (hdrlen < 0) { |
