osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-el2tpd/+/18198 )


Change subject: src/test_connect.c: fix compile with Werror
......................................................................

src/test_connect.c: fix compile with Werror

test_connect.c:50:2: error: format not a string literal and no format arguments 
[-Werror=format-security]
  printf(msgb_hexdump(msg));
  ^~~~~~

Change-Id: Ie0104649104ff31e180c05993e707c6629ddbf83
---
M src/test_connect.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-el2tpd refs/changes/98/18198/1

diff --git a/src/test_connect.c b/src/test_connect.c
index bc75950..38aa127 100644
--- a/src/test_connect.c
+++ b/src/test_connect.c
@@ -47,7 +47,7 @@
        }
        msgb_put(msg, rc);
        printf("Recv data\n");
-       printf(msgb_hexdump(msg));
+       printf("%s", msgb_hexdump(msg));
        printf("\n");

        msgb_free(msg);

--
To view, visit https://gerrit.osmocom.org/c/osmo-el2tpd/+/18198
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-el2tpd
Gerrit-Branch: master
Gerrit-Change-Id: Ie0104649104ff31e180c05993e707c6629ddbf83
Gerrit-Change-Number: 18198
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to