Browse code

Missing header field added

Jan Janak authored on 23/01/2004 01:01:27
Showing 1 changed files
... ...
@@ -31,6 +31,7 @@
31 31
 #include "../sr_module.h"
32 32
 #include "../mem/mem.h"
33 33
 #include "../str.h"
34
+#include "../ut.h"
34 35
 
35 36
 db_func_t dbf;
36 37
 
... ...
@@ -129,7 +130,7 @@ int table_version(db_con_t* connection, const str* table)
129 130
 	}
130 131
 
131 132
 	if (RES_ROW_N(res) == 0) {
132
-		DBG("table_version(): No row for table %s found\n", table->len, ZSW(table->s));
133
+		DBG("table_version(): No row for table %.*s found\n", table->len, ZSW(table->s));
133 134
 		return 0;
134 135
 	}
135 136