summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2019-04-01 03:57:07 +0000
committernaddy <naddy@openbsd.org>2019-04-01 03:57:07 +0000
commit2ccade874aaa8c4ee8ad356d47fb102290c9493f (patch)
tree3d06c952e3fc53eea8029beb168454c9ad475c25
parentCompile with -gdwarf-4 to suppress wrnings about DWARF2 in assembly code (diff)
downloadwireguard-openbsd-2ccade874aaa8c4ee8ad356d47fb102290c9493f.tar.xz
wireguard-openbsd-2ccade874aaa8c4ee8ad356d47fb102290c9493f.zip
Change a strange "} if" into the intended "} else if". No practial
difference in this instance. ok krw@
-rw-r--r--usr.bin/cdio/cdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index d0a35423478..df9689281ef 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.75 2018/04/26 12:42:51 guenther Exp $ */
+/* $OpenBSD: cdio.c,v 1.76 2019/04/01 03:57:07 naddy Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
@@ -963,7 +963,7 @@ play_msf:
} else if (s1 > 59 || s2 > 59) {
printf("Seconds must be between 0 and 59\n");
return (0);
- } if (f1 > 74 || f2 > 74) {
+ } else if (f1 > 74 || f2 > 74) {
printf("Frames number must be between 0 and 74\n");
return (0);
}