Fix files under NxWidgets to use the corrected syslog interfaces

This commit is contained in:
Gregory Nutt 2014-10-08 15:50:31 -06:00
parent 38af1a529d
commit b6c84f5b45
42 changed files with 241 additions and 368 deletions

View file

@ -107,8 +107,8 @@ static void updateMemoryUsage(unsigned int previous,
/* Show the change from the previous time */
message("%s: Before: %8d After: %8d Change: %8d\n",
msg, previous, mmcurrent.uordblks, mmcurrent.uordblks - previous);
printf("%s: Before: %8d After: %8d Change: %8d\n",
msg, previous, mmcurrent.uordblks, mmcurrent.uordblks - previous);
/* Set up for the next test */
@ -321,7 +321,7 @@ int cbuttonarray_main(int argc, char *argv[])
delete test;
updateMemoryUsage(g_mmPrevious, "After deleting the test");
updateMemoryUsage(g_mmInitial, "Final memory usage");
message("Peak memory usage: %8d\n", g_mmPeak - g_mmInitial);
printf("Peak memory usage: %8d\n", g_mmPeak - g_mmInitial);
return 0;
}