[almanah] vfs: Fix some typos in warnings



commit ad0c66e3b5df835b04a0242a0fa28776d73ac30c
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Oct 14 13:18:27 2019 +0100

    vfs: Fix some typos in warnings
    
    Spotted by Angel Abad.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Fixes: #3

 src/vfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vfs.c b/src/vfs.c
index f0fdcfb..3324224 100644
--- a/src/vfs.c
+++ b/src/vfs.c
@@ -687,7 +687,7 @@ almanah_vfs_io_close (sqlite3_file *pFile)
                                                       &bytes_written,
                                                       NULL,
                                                       &child_error) == FALSE) {
-                               g_warning ("Error writting data to plain file %s: %s\n", 
self->plain_filename, child_error->message);
+                               g_warning ("Error writing data to plain file %s: %s\n", self->plain_filename, 
child_error->message);
                                g_object_unref (plain_file);
                                g_object_unref (plain_output_stream);
                                g_unlink (self->plain_filename);
@@ -695,7 +695,7 @@ almanah_vfs_io_close (sqlite3_file *pFile)
                        }
 
                        if (bytes_written != self->plain_size) {
-                               g_warning ("Error writting data to plain file %s: Not all the data has been 
written to the file\n", self->plain_filename);
+                               g_warning ("Error writing data to plain file %s: Not all the data has been 
written to the file\n", self->plain_filename);
                                g_object_unref (plain_file);
                                g_object_unref (plain_output_stream);
                                g_unlink (self->plain_filename);


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