mirror of
https://github.com/google/pebble.git
synced 2025-11-15 03:52:46 -05:00
spelling: succeeds
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -256,7 +256,7 @@ status_t settings_file_rewrite_filtered(
|
|||||||
settings_file_close(file);
|
settings_file_close(file);
|
||||||
// We have to close and reopen the new_file so that it's temp flag is cleared.
|
// We have to close and reopen the new_file so that it's temp flag is cleared.
|
||||||
// Before the close succeeds, if we reboot, we will just end up reading the
|
// Before the close succeeds, if we reboot, we will just end up reading the
|
||||||
// old file. After the close suceeds, we will end up reading the new
|
// old file. After the close succeeds, we will end up reading the new
|
||||||
// (compacted) file.
|
// (compacted) file.
|
||||||
char *name = kernel_strdup(new_file.name);
|
char *name = kernel_strdup(new_file.name);
|
||||||
settings_file_close(&new_file);
|
settings_file_close(&new_file);
|
||||||
@@ -579,7 +579,7 @@ status_t settings_file_rewrite(SettingsFile *file,
|
|||||||
settings_file_close(file);
|
settings_file_close(file);
|
||||||
// We have to close and reopen the new_file so that it's temp flag is cleared.
|
// We have to close and reopen the new_file so that it's temp flag is cleared.
|
||||||
// Before the close succeeds, if we reboot, we will just end up reading the
|
// Before the close succeeds, if we reboot, we will just end up reading the
|
||||||
// old file. After the close suceeds, we will end up reading the new
|
// old file. After the close succeeds, we will end up reading the new
|
||||||
// (compacted) file.
|
// (compacted) file.
|
||||||
char *name = kernel_strdup(new_file.name);
|
char *name = kernel_strdup(new_file.name);
|
||||||
settings_file_close(&new_file);
|
settings_file_close(&new_file);
|
||||||
|
|||||||
Reference in New Issue
Block a user