lkml.org 
[lkml]   [2006]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/10] configfs: use size_t length modifier in pr_debug format argument
    Date
    configfs: use size_t length modifier in pr_debug format argument

    Signed-off-by: Zach Brown <zach.brown@oracle.com>
    ---

    fs/configfs/file.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    Index: 2.6.18-rc6-debug-args/fs/configfs/file.c
    ===================================================================
    --- 2.6.18-rc6-debug-args.orig/fs/configfs/file.c
    +++ 2.6.18-rc6-debug-args/fs/configfs/file.c
    @@ -137,8 +137,8 @@ configfs_read_file(struct file *file, ch
    if ((retval = fill_read_buffer(file->f_dentry,buffer)))
    goto out;
    }
    - pr_debug("%s: count = %d, ppos = %lld, buf = %s\n",
    - __FUNCTION__,count,*ppos,buffer->page);
    + pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
    + __FUNCTION__, count, *ppos, buffer->page);
    retval = flush_read_buffer(buffer,buf,count,ppos);
    out:
    up(&buffer->sem);
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2006-09-09 01:03    [W:0.019 / U:91.780 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site