summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-06-26 21:03:08 +0000
committermillert <millert@openbsd.org>2003-06-26 21:03:08 +0000
commitd0c85965ba85142231ce2c0096b5031afa34006a (patch)
treefe2113189b34dbd30d0cd52ef43019b11734830b /usr.bin/diff/diff.c
parentremove -inset from .Bl; (diff)
downloadwireguard-openbsd-d0c85965ba85142231ce2c0096b5031afa34006a.tar.xz
wireguard-openbsd-d0c85965ba85142231ce2c0096b5031afa34006a.zip
Fix -r flag that was broken during getopt() conversion--whoops.
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
index 59605ced06e..8448b7ee8a0 100644
--- a/usr.bin/diff/diff.c
+++ b/usr.bin/diff/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.15 2003/06/26 18:19:29 millert Exp $ */
+/* $OpenBSD: diff.c,v 1.16 2003/06/26 21:03:08 millert Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -146,7 +146,7 @@ main(int argc, char **argv)
opt = D_NREVERSE;
break;
case 'r':
- opt = D_REVERSE;
+ rflag++;
break;
case 'S':
start = optarg;