[PATCH] fs: syntax fix in ramfs.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux