diff options
author | Nick Kralevich <nnk@google.com> | 2010-05-17 11:20:48 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2010-05-17 11:20:48 -0700 |
commit | fc2dc55c510657073ef4235658167a878e82cefa (patch) | |
tree | ab3c3c45c7982ae2f45ecd1d5559e9f47f141ced | |
parent | d7f236d811e18b8de3cabdf1a69a28ecedbb3a02 (diff) | |
download | netcat-fc2dc55c510657073ef4235658167a878e82cefa.tar.gz |
Get rid of warnings when compiled with -Wformat-securityandroid-sdk-2.3.4_r1android-cts-2.3_r5android-cts-2.3_r4android-cts-2.3_r3android-cts-2.3_r2android-cts-2.3_r12android-cts-2.3_r11android-cts-2.3_r10android-cts-2.3_r1android-2.3_r1android-2.3.7_r1android-2.3.6_r1android-2.3.6_r0.9android-2.3.5_r1android-2.3.4_r1android-2.3.4_r0.9android-2.3.3_r1aandroid-2.3.3_r1.1android-2.3.3_r1android-2.3.2_r1android-2.3.1_r1gingerbread-releasegingerbread-mr4-releasegingerbread
Change-Id: Ibe59f9704dc03aa592fce6ca6d422f4d4e6153cb
-rw-r--r-- | netcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ void holler (str, p1, p2, p3, p4, p5, p6) if (h_errno > 4) /* oh no you don't, either */ fprintf (stderr, "preposterous h_errno: %d", h_errno); else - fprintf (stderr, h_errs[h_errno]); /* handle it here */ + fprintf (stderr, "%s", h_errs[h_errno]); /* handle it here */ h_errno = 0; /* and reset for next call */ } #endif |