[S] Change in libosmo-netif[master]: stream: Fix osmo_panic log fmts
arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-netif/+/33206 ) Change subject: stream: Fix osmo_panic log fmts ...................................................................... stream: Fix osmo_panic log fmts Change-Id: Id082a9473b788f8de20cdc2ba4430b3289f4ce5a --- M src/stream.c 1 file changed, 16 insertions(+), 4 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/06/33206/1 diff --git a/src/stream.c b/src/stream.c index 05fbff3..c050798 100644 --- a/src/stream.c +++ b/src/stream.c @@ -520,8 +520,9 @@ } break; default: - /* Only CONNECTING and CONNECTED states are expected, since they are the only states where FD exists: */ - osmo_panic("osmo_stream_cli_fd_cb called with unexpected state %d\n", cli->state); + /* Only CONNECTING and CONNECTED states are expected, since they are the only states + * where FD exists: */ + osmo_panic("osmo_stream_cli_fd_cb() called with unexpected state %d\n", cli->state); } return 0; } @@ -686,7 +687,8 @@ } break; default: - osmo_panic("osmo_stream_cli_write_cb() called with unexpected state %d\n", cli->state); + osmo_panic("stream_cli_iofd_read_cb() called with unexpected state %d\n", + cli->state); } } @@ -705,7 +707,8 @@ } break; default: - osmo_panic("osmo_stream_cli_write_cb() called with unexpected state %d\n", cli->state); + osmo_panic("stream_cli_iofd_write_cb() called with unexpected state %d\n", + cli->state); } } -- To view, visit https://gerrit.osmocom.org/c/libosmo-netif/+/33206 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmo-netif Gerrit-Branch: master Gerrit-Change-Id: Id082a9473b788f8de20cdc2ba4430b3289f4ce5a Gerrit-Change-Number: 33206 Gerrit-PatchSet: 1 Gerrit-Owner: arehbein <arehbein@sysmocom.de> Gerrit-MessageType: newchange
participants (1)
-
arehbein