diff options
| author | Rebecca Cran <bcran@FreeBSD.org> | 2020-02-20 21:29:59 +0000 |
|---|---|---|
| committer | Rebecca Cran <bcran@FreeBSD.org> | 2020-02-20 21:29:59 +0000 |
| commit | 1631f217456127bc1c7f14d4aa2eb3ad448c0049 (patch) | |
| tree | f8781f8ec125c41c9102826b1391398b875b0aa9 /usr.bin | |
| parent | 74cb9a533304d87bacbe09e4ea9d5e07c18504f1 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/dtc/dtc.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/dtc/dtc.cc b/usr.bin/dtc/dtc.cc index 0cda698011ef..14d3685ba9d4 100644 --- a/usr.bin/dtc/dtc.cc +++ b/usr.bin/dtc/dtc.cc @@ -304,7 +304,10 @@ main(int argc, char **argv) } break; default: - fprintf(stderr, "Unknown option %c\n", ch); + /* + * Since opterr is non-zero, getopt will have + * already printed an error message. + */ return EXIT_FAILURE; } } |
