diff options
| author | David Bremner <david@tethera.net> | 2016-09-22 08:11:42 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-09-22 08:11:42 -0300 |
| commit | 1d4812fd616dbabb11eed0f3718fa7827d69355f (patch) | |
| tree | a5359bbccb8f4ebb2a1f3970bbe526ffb16459b3 /test | |
| parent | 50a1032f870444522d90ef9d23726e42517fedbc (diff) | |
test: fix printf format
notmuch_status_t is an integer type, printing it as a string is a very
bad idea.
Diffstat (limited to 'test')
| -rw-r--r-- | test/notmuch-test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/notmuch-test.h b/test/notmuch-test.h index d39febbe..45d03d67 100644 --- a/test/notmuch-test.h +++ b/test/notmuch-test.h @@ -7,7 +7,7 @@ inline static void expect0(int line, notmuch_status_t ret) { if (ret) { - fprintf (stderr, "line %d: %s\n", line, ret); + fprintf (stderr, "line %d: %d\n", line, ret); exit (1); } } |
