diff options
author | Bastien Nocera <hadess@hadess.net> | 2018-04-24 13:19:43 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2018-04-24 15:09:19 +0200 |
commit | 8311e418a502589b22894a375b7473249b4decf3 (patch) | |
tree | 56c9b610e97b83493f40bc7c7fd8c521ed225bee | |
parent | 0a698126bae762b728a10b17fc995f700138ad56 (diff) | |
download | shared-mime-info-8311e418a502589b22894a375b7473249b4decf3.tar.gz |
Remove extra linefeed in debug output
g_message() already appends a linefeed.
-rw-r--r-- | update-mime-database.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/update-mime-database.c b/update-mime-database.c index 94c300f2..dec1cfad 100644 --- a/update-mime-database.c +++ b/update-mime-database.c @@ -3444,7 +3444,7 @@ write_cache (FILE *cache) g_warning ("Failed to write strings"); return FALSE; } - g_message ("Wrote %d strings at %x - %x\n", + g_message ("Wrote %d strings at %x - %x", g_hash_table_size (strings), strings_offset, offset); alias_offset = offset; @@ -3453,7 +3453,7 @@ write_cache (FILE *cache) g_warning ("Failed to write alias list"); return FALSE; } - g_message ("Wrote aliases at %x - %x\n", alias_offset, offset); + g_message ("Wrote aliases at %x - %x", alias_offset, offset); parent_offset = offset; if (!write_parent_cache (cache, strings, &offset)) @@ -3461,7 +3461,7 @@ write_cache (FILE *cache) g_warning ("Failed to write parent list"); return FALSE; } - g_message ("Wrote parents at %x - %x\n", parent_offset, offset); + g_message ("Wrote parents at %x - %x", parent_offset, offset); literal_offset = offset; if (!write_literal_cache (cache, strings, &offset)) @@ -3469,7 +3469,7 @@ write_cache (FILE *cache) g_warning ("Failed to write literal list"); return FALSE; } - g_message ("Wrote literal globs at %x - %x\n", literal_offset, offset); + g_message ("Wrote literal globs at %x - %x", literal_offset, offset); suffix_offset = offset; if (!write_suffix_cache (cache, strings, &offset)) @@ -3477,7 +3477,7 @@ write_cache (FILE *cache) g_warning ("Failed to write suffix list"); return FALSE; } - g_message ("Wrote suffix globs at %x - %x\n", suffix_offset, offset); + g_message ("Wrote suffix globs at %x - %x", suffix_offset, offset); glob_offset = offset; if (!write_glob_cache (cache, strings, &offset)) @@ -3485,7 +3485,7 @@ write_cache (FILE *cache) g_warning ("Failed to write glob list"); return FALSE; } - g_message ("Wrote full globs at %x - %x\n", glob_offset, offset); + g_message ("Wrote full globs at %x - %x", glob_offset, offset); magic_offset = offset; if (!write_magic_cache (cache, strings, &offset)) @@ -3493,7 +3493,7 @@ write_cache (FILE *cache) g_warning ("Failed to write magic list"); return FALSE; } - g_message ("Wrote magic at %x - %x\n", magic_offset, offset); + g_message ("Wrote magic at %x - %x", magic_offset, offset); namespace_offset = offset; if (!write_namespace_cache (cache, strings, &offset)) @@ -3501,7 +3501,7 @@ write_cache (FILE *cache) g_warning ("Failed to write namespace list"); return FALSE; } - g_message ("Wrote namespace list at %x - %x\n", namespace_offset, offset); + g_message ("Wrote namespace list at %x - %x", namespace_offset, offset); icons_list_offset = offset; if (!write_icons_cache (cache, strings, icon_hash, &offset)) @@ -3509,7 +3509,7 @@ write_cache (FILE *cache) g_warning ("Failed to write icons list"); return FALSE; } - g_message ("Wrote icons list at %x - %x\n", icons_list_offset, offset); + g_message ("Wrote icons list at %x - %x", icons_list_offset, offset); generic_icons_list_offset = offset; if (!write_icons_cache (cache, strings, generic_icon_hash, &offset)) @@ -3517,7 +3517,7 @@ write_cache (FILE *cache) g_warning ("Failed to write generic icons list"); return FALSE; } - g_message ("Wrote generic icons list at %x - %x\n", generic_icons_list_offset, offset); + g_message ("Wrote generic icons list at %x - %x", generic_icons_list_offset, offset); type_offset = offset; if (!write_types_cache (cache, strings, types, &offset)) @@ -3525,7 +3525,7 @@ write_cache (FILE *cache) g_warning ("Failed to write types list"); return FALSE; } - g_message ("Wrote types list at %x - %x\n", type_offset, offset); + g_message ("Wrote types list at %x - %x", type_offset, offset); rewind (cache); offset = 0; |