FreeBSD Bugzilla – Attachment 151719 Details for
Bug 196793
osmtest --version causes an assertion failure instead of printing out a usage message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
osmtest-more-user-friendly-on-usage-error.patch (text/plain), 441 bytes, created by
Enji Cooper
on 2015-01-16 03:18:35 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Enji Cooper
Created:
2015-01-16 03:18:35 UTC
Size:
441 bytes
patch
obsolete
>diff --git a/contrib/ofed/management/opensm/osmtest/main.c b/contrib/ofed/management/opensm/osmtest/main.c >index f87e33b..8bb3b80 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; > } > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196793
: 151719