summaryrefslogtreecommitdiffstats
path: root/common/state/backend_bucket_circular.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-27 11:47:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-27 11:47:29 +0200
commit444ee36545998cad54e6b1df7bec604b1fa9834c (patch)
tree6075a7bfc4c27eb7aea2315af0b2343e149bff8f /common/state/backend_bucket_circular.c
parentf4ea4a134b1cd48d45575ea31539afb3d281ae37 (diff)
downloadbarebox-444ee36545998cad54e6b1df7bec604b1fa9834c.tar.gz
barebox-444ee36545998cad54e6b1df7bec604b1fa9834c.tar.xz
state: backend circular: Fix wrong comment
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state/backend_bucket_circular.c')
-rw-r--r--common/state/backend_bucket_circular.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/state/backend_bucket_circular.c b/common/state/backend_bucket_circular.c
index 9cb9dce2ac..0bce900d0d 100644
--- a/common/state/backend_bucket_circular.c
+++ b/common/state/backend_bucket_circular.c
@@ -323,7 +323,7 @@ static int state_backend_bucket_circular_write(struct state_backend_storage_buck
circ->write_area = 0;
}
/*
- * If the write area is at the beginning of the page, erase it and write
+ * If the write area is at the beginning of the eraseblock, erase it and write
* at offset 0. As we only erase right before writing there are no
* conditions where we regularly erase a block multiple times without
* writing.