projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
351cdeb
)
tests: drop the external prefix in gu_err()
author
Bartosz Golaszewski
<bartekgola@gmail.com>
Wed, 1 Mar 2017 10:15:38 +0000
(11:15 +0100)
committer
Bartosz Golaszewski
<bartekgola@gmail.com>
Wed, 1 Mar 2017 10:15:38 +0000
(11:15 +0100)
This function is static so drop the prefix.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/gpiod-unit.c
patch
|
blob
|
history
diff --git
a/tests/unit/gpiod-unit.c
b/tests/unit/gpiod-unit.c
index fbf46562001a9138328cde07770c70a7e906b446..a6677252e08fe2f0531f0e2eba012650c990edf2 100644
(file)
--- a/
tests/unit/gpiod-unit.c
+++ b/
tests/unit/gpiod-unit.c
@@
-61,7
+61,7
@@
static void GU_PRINTF(1, 2) msg(const char *fmt, ...)
va_end(va);
}
-static void GU_PRINTF(1, 2)
gu_
err(const char *fmt, ...)
+static void GU_PRINTF(1, 2) err(const char *fmt, ...)
{
va_list va;
@@
-387,7
+387,7
@@
int main(int argc GU_UNUSED, char **argv GU_UNUSED)
if (!globals.tests_failed)
msg("all tests passed");
else
-
gu_
err("%u out of %u tests failed",
+ err("%u out of %u tests failed",
globals.tests_failed, globals.num_tests);
return globals.tests_failed ? EXIT_FAILURE : EXIT_SUCCESS;