add_directory(): Fix log message.
authorAndre Noll <maan@systemlinux.org>
Fri, 30 May 2008 20:58:48 +0000 (22:58 +0200)
committerAndre Noll <maan@systemlinux.org>
Fri, 30 May 2008 20:58:48 +0000 (22:58 +0200)
adu.c

diff --git a/adu.c b/adu.c
index 280d3c0..5b70234 100644 (file)
--- a/adu.c
+++ b/adu.c
@@ -292,7 +292,7 @@ static int add_directory(char *dirname, uint64_t *dir_num, uint64_t *parent_dir_
 {
        struct osl_object dir_objects[NUM_DT_COLUMNS];
 
-       INFO_LOG("adding #%llu: %s\n", (long long unsigned)dir_num, dirname);
+       INFO_LOG("adding #%llu: %s\n", (long long unsigned)*dir_num, dirname);
        dir_objects[DT_NAME].data = dirname;
        dir_objects[DT_NAME].size = strlen(dirname) + 1;
        dir_objects[DT_NUM].data = dir_num;