summaryrefslogtreecommitdiffstats
path: root/commands/edit.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-10-15 08:23:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-21 22:21:22 +0200
commit30078a2f426df5eb738ae9cb895e4485b9b8feaa (patch)
tree15dd1b092a6487cc1c579df117ee834cbdf743f3 /commands/edit.c
parenteff51304a72ae260c9398d89d26ee01d518de904 (diff)
downloadbarebox-30078a2f426df5eb738ae9cb895e4485b9b8feaa.tar.gz
barebox-30078a2f426df5eb738ae9cb895e4485b9b8feaa.tar.xz
edit: sparse fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/edit.c')
-rw-r--r--commands/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/edit.c b/commands/edit.c
index a65b08acd2..7da681643b 100644
--- a/commands/edit.c
+++ b/commands/edit.c
@@ -231,7 +231,7 @@ static int edit_read_file(const char *path)
line->prev = lastline;
if (lastline)
lastline->next = line;
- line->next = 0;
+ line->next = NULL;
lastline = line;
if (!lineend)