summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorpdw <>2014-01-19 20:11:39 +0000
committerpdw <>2014-01-19 20:11:39 +0000
commit687861284d75260c17ff285557c12b0f2ad996f6 (patch)
treec9c1b970e33a45c1c73c95e894522efae099dda6 /options.c
parent40add9566d8a4bd97c5c299391984c095861b3fb (diff)
downloadiftop-687861284d75260c17ff285557c12b0f2ad996f6.zip
Patches from Robert Scheck <robert@fedoraproject.org>
* enable building iftop with more recent versions of autoconf/automake * patch to remove compile time warnings (mostly already applied).
Diffstat (limited to 'options.c')
-rw-r--r--options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/options.c b/options.c
index 66a1494..be7a6e8 100644
--- a/options.c
+++ b/options.c
@@ -211,10 +211,11 @@ static void usage(FILE *fp) {
" -s num print one single text output afer num seconds, then quit\n"
" -L num number of lines to print\n"
"\n"
-"iftop, version " IFTOP_VERSION "\n"
+"iftop, version " PACKAGE_VERSION "\n"
"copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors\n"
);
}
+#endif /* Obsolete code? */
void options_read_args(int argc, char **argv) {
int opt;