On Tue, Mar 12, 2013 at 12:38 PM, Boris Chiu <[email protected]> wrote:
> From: Brendan Doyle <[email protected]>
>
> Signed-off-by: Brendan Doyle <[email protected]>

Thanks applied,
Ira

> ---
> src/rpc.c |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/rpc.c b/src/rpc.c
> index 6312d42..cb224fd 100644
> --- a/src/rpc.c
> +++ b/src/rpc.c
> @@ -360,7 +360,8 @@ madrpc_init(char *dev_name, int dev_port, int
> *mgmt_classes, int num_classes)
>                 IBPANIC("can't init UMAD library");
>
>         if ((fd = umad_open_port(dev_name, dev_port)) < 0)
> -               IBPANIC("can't open UMAD port (%s:%d)", dev_name, dev_port);
> +               IBPANIC("can't open UMAD port (%s:%d)",
> +               dev_name ? dev_name : "(nil)", dev_port);
>
>         if (num_classes >= MAX_CLASS)
>                 IBPANIC("too many classes %d requested", num_classes);
> --
> 1.7.1
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to