laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/simtrace2/+/42228?usp=email )

Change subject: Use gsmtap_inst_fd2() to remove compiler warning
......................................................................

Use gsmtap_inst_fd2() to remove compiler warning

gsmtap.c: In function 'osmo_st2_gsmtap_send_apdu':
gsmtap.c:69:9: warning: 'gsmtap_inst_fd' is deprecated: Use gsmtap_inst_fd2() 
instead [-Wdeprecated-declarations]
   69 |         rc = write(gsmtap_inst_fd(g_gti), buf, gross_len);
      |         ^~

Change-Id: I62de38175e63cb563635a01b025b805981e4b7a9
---
M host/lib/gsmtap.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved




diff --git a/host/lib/gsmtap.c b/host/lib/gsmtap.c
index 3fc3da6..41b68fa 100644
--- a/host/lib/gsmtap.c
+++ b/host/lib/gsmtap.c
@@ -66,7 +66,7 @@

        memcpy(buf + sizeof(*gh), apdu, len);

-       rc = write(gsmtap_inst_fd(g_gti), buf, gross_len);
+       rc = write(gsmtap_inst_fd2(g_gti), buf, gross_len);
        if (rc < 0) {
                perror("write gsmtap");
                free(buf);

--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/42228?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I62de38175e63cb563635a01b025b805981e4b7a9
Gerrit-Change-Number: 42228
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>

Reply via email to