Signed-off-by: Stefan Christ <s.christ@xxxxxxxxx> --- fs/ramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ramfs.c b/fs/ramfs.c index 716f40f..a97f0a6 100644 --- a/fs/ramfs.c +++ b/fs/ramfs.c @@ -495,7 +495,7 @@ static int ramfs_truncate(struct device_d *dev, FILE *f, ulong size) data->next = ramfs_get_chunk(); if (!data->next) return -ENOMEM; - data = data->next; + data = data->next; } } node->size = size; -- 1.9.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox