diff options
author | maxim <maxim@FreeBSD.org> | 2002-10-16 14:20:20 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2002-10-16 14:20:20 +0000 |
commit | 318aa50bf9b1879c25404ddd2b695248e215122f (patch) | |
tree | 43fc70ac35c5b6b05efafbccc8f0f402eb8e9090 /usr.sbin/newsyslog | |
parent | 0d7bae16975de150978751d3ebe3eda458364592 (diff) | |
download | FreeBSD-src-318aa50bf9b1879c25404ddd2b695248e215122f.zip FreeBSD-src-318aa50bf9b1879c25404ddd2b695248e215122f.tar.gz |
Fix getopt(3) optstring: remove a flag we does not handle.
PR: bin/44066
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 week
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index 5f6b029..6b2b625 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -230,7 +230,7 @@ PRS(int argc, char **argv) if ((p = strchr(hostname, '.'))) { *p = '\0'; } - while ((c = getopt(argc, argv, "nrvFf:a:t:")) != -1) + while ((c = getopt(argc, argv, "nrvFf:a:")) != -1) switch (c) { case 'n': noaction++; |