Changeset 55f8c6e7 in mainline for uspace/lib/fdisk/src/cap.c


Ignore:
Timestamp:
2015-10-29T17:10:30Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dc2d582
Parents:
03661d19
Message:

Remove excessive debug messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fdisk/src/cap.c

    r03661d19 r55f8c6e7  
    9292        uint64_t rem;
    9393        int rc;
    94 
    95         printf("fdisk_cap_to_blocks: m=%" PRIu64 ", dp=%d, cunit=%d\n",
    96             cap->m, cap->dp, cap->cunit);
    9794
    9895        exp = cap->cunit * 3 - cap->dp;
     
    122119                }
    123120
    124                 printf("f=%" PRIu64 ", adj=%" PRId64 "\n", f, adj);
    125121                bytes = cap->m * f + adj;
    126                 printf("bytes=%" PRIu64 "\n", bytes);
    127122                if ((bytes - adj) / f != cap->m)
    128123                        return ERANGE;
     
    134129
    135130        blocks = (bytes + rem) / block_size;
    136         printf("blocks=%" PRIu64 "\n", blocks);
    137131
    138132        *rblocks = blocks;
     
    152146        unsigned rdig;
    153147        int rc;
    154 
    155         printf("before: m=%" PRIu64 " dp=%u cunit=%d\n",
    156             cap->m, cap->dp, cap->cunit);
    157148
    158149        /* Change units so that we have at most @c scap_max_idig integer digits */
     
    183174                cap->dp -= rdig;
    184175        }
    185 
    186         printf("after: m=%" PRIu64 " dp=%u cunit=%d\n",
    187             cap->m, cap->dp, cap->cunit);
    188176}
    189177
Note: See TracChangeset for help on using the changeset viewer.