db: update a debug message
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Mar 2013 12:48:43 +0000 (14 15:48 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Mar 2013 12:48:43 +0000 (14 15:48 +0300)
I have changed this to match the format in mem_sql().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_db.c

index 4f64649..3203c1f 100644 (file)
@@ -29,7 +29,7 @@ do {                                                                          \
                              "insert into %s values (", #table);               \
                p += snprintf(p, buf + sizeof(buf) - p, values);                \
                p += snprintf(p, buf + sizeof(buf) - p, ");");                  \
-               sm_debug("mem-db: %s\n", buf);                                  \
+               sm_debug("in-mem: %s\n", buf);                                  \
                rc = sqlite3_exec(mem_db, buf, NULL, 0, &err);                  \
                if (rc != SQLITE_OK) {                                          \
                        fprintf(stderr, "SQL error #2: %s\n", err);             \