arehbein has uploaded this change for review.
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 change 33206. To unsubscribe, or for help writing mail filters, visit settings.