Fix from CAI Qian <caiqian@cclom.cn>.
diff --git a/testcases/network/lib6/runcc.c b/testcases/network/lib6/runcc.c
index a7c04cb..3cc7129 100644
--- a/testcases/network/lib6/runcc.c
+++ b/testcases/network/lib6/runcc.c
@@ -64,7 +64,7 @@
{
static char filename[1024];
int fd, es, saved_errno;
- char * cflags;
+ char * cflags = "";
fd = mkstemp(filename0);
if (fd < 0) {
@@ -88,7 +88,8 @@
cflags = getenv("CFLAGS");
if (cflags == NULL){
- tst_resm(TWARN, "CFLAGS not found, using default cc arch.");
+ tst_resm(TINFO, "CFLAGS not found, using default cc arch.");
+ cflags = "";
}
snprintf(cmd, sizeof(cmd), "%s %s -o %s %s > /tmp/test 2>&1", "cc",