Author: marek Date: 2010-06-21 15:20:12 +0200 (Mon, 21 Jun 2010) New Revision: 1717
Modified: trunk/batctl/debugfs.c trunk/batctl/sys.c Log: batctl: Use NULL instead of 0 for pointers
Signed-off-by: Sven Eckelmann sven.eckelmann@gmx.de
Modified: trunk/batctl/debugfs.c =================================================================== --- trunk/batctl/debugfs.c 2010-06-21 13:20:09 UTC (rev 1716) +++ trunk/batctl/debugfs.c 2010-06-21 13:20:12 UTC (rev 1717) @@ -38,7 +38,7 @@ static const char *debugfs_known_mountpoints[] = { "/sys/kernel/debug/", "/debug/", - 0, + NULL, };
/* use this to force a umount */
Modified: trunk/batctl/sys.c =================================================================== --- trunk/batctl/sys.c 2010-06-21 13:20:09 UTC (rev 1716) +++ trunk/batctl/sys.c 2010-06-21 13:20:12 UTC (rev 1717) @@ -39,14 +39,14 @@ "disable", "1", "0", - 0, + NULL, };
const char *sysfs_param_server[] = { "off", "client", "server", - 0, + NULL, };
static void interface_usage(void)