Blame SOURCES/xinetd-2.3.15-covscan.patch

319196
diff --git a/xinetd/inet.c b/xinetd/inet.c
319196
index 1cb2ba2..4e1237e 100644
319196
--- a/xinetd/inet.c
319196
+++ b/xinetd/inet.c
319196
@@ -190,7 +190,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
319196
       nvp = nv_find_value( service_types, "RPC" );
319196
       if ( nvp == NULL )
319196
       {
319196
-         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
319196
+         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
319196
          pset_destroy(args);
319196
          sc_free(scp);
319196
          return -1;
319196
@@ -281,7 +281,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
319196
       nvp = nv_find_value( service_types, "INTERNAL" );
319196
       if ( nvp == NULL )
319196
       {
319196
-         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
319196
+         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
319196
          pset_destroy(args);
319196
          sc_free(scp);
319196
          return -1;
319196
@@ -359,7 +359,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
319196
       nvp = nv_find_value( service_flags, "REUSE" );
319196
       if ( nvp == NULL )
319196
       {
319196
-         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
319196
+         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
319196
          pset_destroy(args);
319196
          sc_free(scp);
319196
          return -1;
319196
@@ -370,7 +370,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
319196
       nvp = nv_find_value( service_flags, "NOLIBWRAP" );
319196
       if ( nvp == NULL )
319196
       {
319196
-         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
319196
+         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
319196
          pset_destroy(args);
319196
          sc_free(scp);
319196
          return -1;
319196
@@ -381,7 +381,7 @@ static int get_next_inet_entry( int fd, pset_h sconfs,
319196
       nvp = nv_find_value( service_flags, "NAMEINARGS" );
319196
       if ( nvp == NULL )
319196
       {
319196
-         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", name ) ;
319196
+         parsemsg( LOG_WARNING, func, "inetd.conf - Bad foo %s", SC_NAME(scp) ) ;
319196
          pset_destroy(args);
319196
          sc_free(scp);
319196
          return (-1);