commit | 340184b35ac8786bdb574d2c8ce8e4f1269ec4da | [log] [tgz] |
---|---|---|
author | Tilman Schmidt <tilman@imap.cc> | Sat Oct 11 13:46:30 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 14 15:05:35 2014 -0400 |
tree | 476198dccf63ead3c26d49ce496c429e24d4a0bf | |
parent | 2bf3a09ea51f807d78d48d0ebc591b9e1502a743 [diff] |
isdn/capi: don't return NULL from capi_cmd2str() capi_cmd2str() is used in many places to build log messages. None of them is prepared to handle NULL as a result. Change the function to return printable string "INVALID_COMMAND" instead. Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>