From 69abf67e46fa36f6db047586a56204dcad4f07b8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 13 Nov 2009 20:22:41 -0800 Subject: [PATCH] Fix typo in comment describing free_map_allocate(). Thanks to Godmar Back for reporting the problem and for the fix. --- src/filesys/free-map.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/filesys/free-map.c b/src/filesys/free-map.c index 34f2060..db0dc4a 100644 --- a/src/filesys/free-map.c +++ b/src/filesys/free-map.c @@ -21,8 +21,9 @@ free_map_init (void) /* Allocates CNT consecutive sectors from the free map and stores the first into *SECTORP. - Returns true if successful, false if all sectors were - available. */ + Returns true if successful, false if not enough consecutive +   sectors were available or if the free_map file could not be +   written. */ bool free_map_allocate (size_t cnt, block_sector_t *sectorp) { -- 2.30.2