Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/udf/udf_file.c

    r38d150e r5c702a8  
    3838#include <libfs.h>
    3939#include <errno.h>
    40 #include <stdlib.h>
     40#include <malloc.h>
    4141#include <inttypes.h>
    4242#include <io/log.h>
     
    7171            FLE32(exd->extent_location.lblock_num);
    7272       
    73         log_msg(LOG_DEFAULT, LVL_DEBUG,
     73        log_msg(LVL_DEBUG,
    7474            "Extended allocator: start=%d, block_num=%d, len=%d", start,
    7575            FLE32(exd->extent_location.lblock_num), FLE32(exd->info_length));
     
    100100        switch (icb_flag) {
    101101        case UDF_SHORT_AD:
    102                 log_msg(LOG_DEFAULT, LVL_DEBUG,
     102                log_msg(LVL_DEBUG,
    103103                    "ICB: sequence of allocation descriptors - icbflag = short_ad_t");
    104104               
     
    167167               
    168168        case UDF_LONG_AD:
    169                 log_msg(LOG_DEFAULT, LVL_DEBUG,
     169                log_msg(LVL_DEBUG,
    170170                    "ICB: sequence of allocation descriptors - icbflag = long_ad_t");
    171171               
     
    203203               
    204204        case UDF_EXTENDED_AD:
    205                 log_msg(LOG_DEFAULT, LVL_DEBUG,
     205                log_msg(LVL_DEBUG,
    206206                    "ICB: sequence of allocation descriptors - icbflag = extended_ad_t");
    207207                break;
    208208               
    209209        case UDF_DATA_AD:
    210                 log_msg(LOG_DEFAULT, LVL_DEBUG,
     210                log_msg(LVL_DEBUG,
    211211                    "ICB: sequence of allocation descriptors - icbflag = 3, node contains data itself");
    212212               
     
    253253                switch (FLE16(data->id)) {
    254254                case UDF_FILE_ENTRY:
    255                         log_msg(LOG_DEFAULT, LVL_DEBUG, "ICB: File entry descriptor found");
     255                        log_msg(LVL_DEBUG, "ICB: File entry descriptor found");
    256256                       
    257257                        udf_file_entry_descriptor_t *file =
     
    267267                       
    268268                case UDF_EFILE_ENTRY:
    269                         log_msg(LOG_DEFAULT, LVL_DEBUG, "ICB: Extended file entry descriptor found");
     269                        log_msg(LVL_DEBUG, "ICB: Extended file entry descriptor found");
    270270                       
    271271                        udf_extended_file_entry_descriptor_t *efile =
     
    281281                       
    282282                case UDF_ICB_TERMINAL:
    283                         log_msg(LOG_DEFAULT, LVL_DEBUG, "ICB: Terminal entry descriptor found");
     283                        log_msg(LVL_DEBUG, "ICB: Terminal entry descriptor found");
    284284                        block_put(block);
    285285                        return EOK;
Note: See TracChangeset for help on using the changeset viewer.