diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dm/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/usb.c b/test/dm/usb.c index db4b8ba0f7..5d6ceefce0 100644 --- a/test/dm/usb.c +++ b/test/dm/usb.c @@ -427,7 +427,7 @@ static int dm_test_usb_keyb(struct unit_test_state *uts) for (c = pos->result; *c; ++c) { ut_asserteq(1, tstc()); - ut_asserteq(*c, getc()); + ut_asserteq(*c, getchar()); } ut_asserteq(0, tstc()); } |