| Issue 122: | ohsm_debug when printing a table. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
void
debug_print_sam (void) {
int i = 0;
int j;
ohsm_debug(OHSM_LOG_GENERIC, "Printing SAM Table.\n");
for (i = 0; i < MAX_TIER_ALLOWED; i++) {
ohsm_debug(OHSM_LOG_GENERIC, "\n");
if (sam[i][0] == 0)
continue;
else
for (j = 0; j < (MAX_DISK_ALLOWED * 2 + 1); j++) {
ohsm_debug(OHSM_LOG_GENERIC, " - %lu - ", sam[i][j]);
if (sam[i][j] == sam[0][2])
break;
}
ohsm_debug(OHSM_LOG_GENERIC, "\n");
}
}
What to be done here ???
For every value printed it prints the filename and other values too...
We expect the o/p to be in tabular form.
Can you please take a look?
Aug 7, 2009
Project Member
#1
sandeepksinha
Status:
Fixed
|