Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/stacktrace.c

    rc7bbf029 r63f8966  
    5050
    5151        while (stacktrace_fp_valid(&st, fp)) {
    52                 printf("%p: %p()\n", (void *) fp, (void *) pc);
     52                printf("%p: %p()\n", fp, pc);
    5353                (void) stacktrace_ra_get(&st, fp, &pc);
    5454                (void) stacktrace_fp_prev(&st, fp, &nfp);
     
    6161        stacktrace_prepare();
    6262        stacktrace_print_fp_pc(stacktrace_fp_get(), stacktrace_pc_get());
    63        
    6463        /*
    6564         * Prevent the tail call optimization of the previous call by
    6665         * making it a non-tail call.
    6766         */
    68        
    69         printf("-- end of stack trace --\n");
     67        (void) stacktrace_fp_get();
    7068}
    7169
Note: See TracChangeset for help on using the changeset viewer.