summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2010-03-05 14:10:54 +0100
committerDenys Vlasenko2010-03-05 14:10:54 +0100
commit4b1100edd8180efa2e81860ef2fadeebcb21f5fa (patch)
tree84ae15d899f04dc8fdc16172446eb8e76a834d67 /shell
parent44fbfa78ca6126d658ff48cef79e2f7d29fae6c8 (diff)
downloadbusybox-4b1100edd8180efa2e81860ef2fadeebcb21f5fa.zip
busybox-4b1100edd8180efa2e81860ef2fadeebcb21f5fa.tar.gz
*: use NULL for null pointers
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 03904bb..8ffe67c 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2482,7 +2482,7 @@ static void hashcd(void);
static int
docd(const char *dest, int flags)
{
- const char *dir = 0;
+ const char *dir = NULL;
int err;
TRACE(("docd(\"%s\", %d) called\n", dest, flags));