Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- commands/edit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/commands/edit.c b/commands/edit.c index a65b08a..7da6816 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) -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox