test: fix printf format

notmuch_status_t is an integer type, printing it as a string is a very
bad idea.
This commit is contained in:
David Bremner 2016-09-22 08:11:42 -03:00
parent 50a1032f87
commit 1d4812fd61

View file

@ -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);
}
}