My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 122: ohsm_debug when printing a table.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  mkati...@gmail.com
Closed:  Aug 2009


 
Project Member Reported by sandeepksinha, Aug 6, 2009
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
fixed. r242.


Status: Fixed

Powered by Google Project Hosting