diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2015-01-16 21:12:36 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2015-01-16 21:12:36 +0000 |
| commit | 5962fd53ac446c47d6d2feeb3f1d64a8fc5dd640 (patch) | |
| tree | c4b3f9695cec94083986599be709745840553a20 | |
| parent | e3c3ea1ceebff201c4cbf48f9d4a94c67e707030 (diff) | |
Notes
| -rw-r--r-- | contrib/ofed/management/opensm/osmtest/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ofed/management/opensm/osmtest/main.c b/contrib/ofed/management/opensm/osmtest/main.c index f87e33b2f937e..8bb3b80d5383d 100644 --- a/contrib/ofed/management/opensm/osmtest/main.c +++ b/contrib/ofed/management/opensm/osmtest/main.c @@ -565,8 +565,9 @@ int main(int argc, char *argv[]) printf("Done with args\n"); break; - default: /* something wrong */ - abort(); + default: + show_usage(); + return 1; } } |
