diff options
author | Tom Rini <trini@ti.com> | 2014-06-24 14:06:22 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-24 14:06:22 -0400 |
commit | ba9b42c81b0734d53edfbb1fe4a6ded7de78c5ab (patch) | |
tree | 4a2a320c917e0ec10908b25b0878a62b3210f00b /arch/sandbox/cpu/os.c | |
parent | 19198f8b013b70ae6f497422e5418cc009dea145 (diff) | |
parent | 1638d98052e0d03e46d504b21ec1b88ecfcd87aa (diff) |
Merge branch 'sandbox' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/sandbox/cpu/os.c')
-rw-r--r-- | arch/sandbox/cpu/os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c index 57d04a45b22..1c4aa3f9bc4 100644 --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c @@ -341,6 +341,7 @@ int os_dirent_ls(const char *dirname, struct os_dirent_node **headp) ret = -ENOMEM; goto done; } + next->next = NULL; strcpy(next->name, entry.d_name); switch (entry.d_type) { case DT_REG: |