summaryrefslogtreecommitdiff
path: root/wallpapers.c
diff options
context:
space:
mode:
Diffstat (limited to 'wallpapers.c')
-rw-r--r--wallpapers.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wallpapers.c b/wallpapers.c
index e39ef21..56a72c6 100644
--- a/wallpapers.c
+++ b/wallpapers.c
@@ -16,10 +16,8 @@
static guint context_id = 0;
void add_dir_recursive(const gchar *path, sqlite_uint64 parent, GtkStatusbar *statusbar) {
- int pathlen = strlen(path);
GDir *dir;
const gchar *filename;
- sqlite_uint64 dir_temp;
sqlite_uint64 dirid;
gchar *filepath;
gchar *msg;
@@ -59,7 +57,7 @@ void add_dir_recursive(const gchar *path, sqlite_uint64 parent, GtkStatusbar *st
}
if(g_access(filepath, R_OK) == -1) {
- g_warning("Can't read %s: \n", filepath, strerror(errno));
+ g_warning("Can't read %s: %s\n", filepath, strerror(errno));
g_free(filepath);
continue;
}