aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpview/files/patch-hex.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcpview/files/patch-hex.c')
-rw-r--r--net/tcpview/files/patch-hex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tcpview/files/patch-hex.c b/net/tcpview/files/patch-hex.c
index 3543ab5eb51c..fd8d11ee97ba 100644
--- a/net/tcpview/files/patch-hex.c
+++ b/net/tcpview/files/patch-hex.c
@@ -4,7 +4,7 @@
char *s;
do {
-+#define gets(a) fgets(a,sizeof(a),stdin)
++#define gets(a) gets_s(a,sizeof(a))
if( gets(str) == NULL )
return NULL;
if( *str != '\t' && *str != ' ' && PrintFrames )