summaryrefslogtreecommitdiff
path: root/libnet/src/libnet_build_token_ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnet/src/libnet_build_token_ring.c')
-rw-r--r--libnet/src/libnet_build_token_ring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnet/src/libnet_build_token_ring.c b/libnet/src/libnet_build_token_ring.c
index d0c2e0b..03a0f62 100644
--- a/libnet/src/libnet_build_token_ring.c
+++ b/libnet/src/libnet_build_token_ring.c
@@ -50,7 +50,7 @@ const uint8_t *payload, uint32_t payload_s, libnet_t *l, libnet_ptag_t ptag)
!(((l->injection_type) & LIBNET_ADV_MASK)))
{
snprintf(l->err_buf, LIBNET_ERRBUF_SIZE,
- "%s(): called with non-link layer wire injection primitive\n",
+ "%s(): called with non-link layer wire injection primitive",
__func__);
p = NULL;
goto bad;
@@ -119,7 +119,7 @@ libnet_t *l)
!(((l->injection_type) & LIBNET_ADV_MASK)))
{
snprintf(l->err_buf, LIBNET_ERRBUF_SIZE,
- "%s(): called with non-link layer wire injection primitive\n",
+ "%s(): called with non-link layer wire injection primitive",
__func__);
p = NULL;
goto bad;