Changeset dbedcf9 in rtems


Ignore:
Timestamp:
May 26, 2016, 7:40:34 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
39bcf741
Parents:
3039e18
git-author:
Sebastian Huber <sebastian.huber@…> (05/26/16 19:40:34)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/26/16 19:41:47)
Message:

testsuites: Fix locked_printf() test printer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/src/locked_print.c

    r3039e18 rdbedcf9  
    1919rtems_printer rtems_test_printer;
    2020
    21 static int locked_printf_plugin(void *context, const char *fmt, ...)
     21static int locked_printf_plugin(void *context, const char *fmt, va_list ap)
    2222{
    23   int rv;
    24   va_list ap;
    25 
    2623  (void) context;
    27 
    28   va_start(ap, fmt);
    29   rv = locked_vprintf(fmt, ap);
    30   va_end(ap);
    31 
    32   return rv;
     24  return locked_vprintf(fmt, ap);
    3325}
    3426
     
    6052   */
    6153  rtems_test_printer.context = NULL;
    62   rtems_test_printer.context = locked_printf_plugin;
     54  rtems_test_printer.printer = locked_printf_plugin;
    6355}
    6456
Note: See TracChangeset for help on using the changeset viewer.