mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
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:
parent
50a1032f87
commit
1d4812fd61
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue