[Crash-utility] [PATCH RFC 01/14] tools: fix non-literal NULL conversion

Oleksandr Natalenko oleksandr at redhat.com
Fri Oct 27 08:23:07 UTC 2017


Signed-off-by: Oleksandr Natalenko <oleksandr at redhat.com>
---
 tools.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools.c b/tools.c
index 186b703..97859ae 100644
--- a/tools.c
+++ b/tools.c
@@ -246,7 +246,7 @@ next:
 	            str[i] = NULLCHAR;
 	                        /* keep falling... */
 	        case NULLCHAR:
-	            argv[j] = NULLCHAR;
+	            argv[j] = NULL;
 	            return(j);
 	        }
     	}  
-- 
2.14.3




More information about the Crash-utility mailing list