[2/2] batctl: Use NULL instead of 0 for pointers
Commit Message
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
---
debugfs.c | 2 +-
sys.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
@@ -38,7 +38,7 @@ static char debugfs_mountpoint[MAX_PATH+1];
static const char *debugfs_known_mountpoints[] = {
"/sys/kernel/debug/",
"/debug/",
- 0,
+ NULL,
};
/* use this to force a umount */
@@ -39,14 +39,14 @@ const char *sysfs_param_enable[] = {
"disable",
"1",
"0",
- 0,
+ NULL,
};
const char *sysfs_param_server[] = {
"off",
"client",
"server",
- 0,
+ NULL,
};
static void interface_usage(void)