Ignore:
Timestamp:
Jun 26, 2017, 5:26:49 PM (5 years ago)
Author:
max@…
Message:

use %p to silence a few warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_fbf.c

    r23 r65  
    146146    if( error )
    147147    {
    148         printk("\n[ERROR] in %s : cannot translate vaddr = %x in process %x\n",
    149                __FUNCTION__ , (uint32_t)buffer , this->process->pid );
     148        printk("\n[ERROR] in %s : cannot translate vaddr = %p in process %x\n",
     149               __FUNCTION__ , buffer , this->process->pid );
    150150        return EINVAL;
    151151    }
    152152
    153     fbf_dmsg("\n[INFO] %s : thread %x in process %x / vaddr = %x / paddr = %l\n",
    154              __FUNCTION__ , this->trdid , this->process->pid , (uint32_t)buffer , buf_paddr );
     153    fbf_dmsg("\n[INFO] %s : thread %x in process %x / vaddr = %p / paddr = %l\n",
     154             __FUNCTION__ , this->trdid , this->process->pid , buffer , buf_paddr );
    155155
    156156    // get extended pointer on FBF chdev descriptor
Note: See TracChangeset for help on using the changeset viewer.