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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Oleksandr Natalenko <oleksandr@xxxxxxxxxx>
---
 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

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux