From d6c18fb8f37dd30b2e065b9fbb729c1b639d4064 Mon Sep 17 00:00:00 2001 From: millert Date: Tue, 22 Jul 2003 16:42:58 +0000 Subject: Add missing terminator to long options list. --- usr.bin/diff/diff.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/diff/diff.c') diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c index 5e94598900e..b671ec3892e 100644 --- a/usr.bin/diff/diff.c +++ b/usr.bin/diff/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.33 2003/07/22 01:16:01 millert Exp $ */ +/* $OpenBSD: diff.c,v 1.34 2003/07/22 16:42:58 millert Exp $ */ /* * Copyright (c) 2003 Todd C. Miller @@ -21,7 +21,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: diff.c,v 1.33 2003/07/22 01:16:01 millert Exp $"; +static const char rcsid[] = "$OpenBSD: diff.c,v 1.34 2003/07/22 16:42:58 millert Exp $"; #endif /* not lint */ #include @@ -70,6 +70,7 @@ static struct option longopts[] = { { "ignore-all-space", no_argument, 0, 'w' }, { "exclude", required_argument, 0, 'x' }, { "exclude-from", required_argument, 0, 'X' }, + { NULL, 0, 0, '\0'} }; __dead void usage(void); -- cgit v1.2.3-59-g8ed1b