Skip to content

Commit

Permalink
integrated fix for compiler warning/error due to wrong printk format
Browse files Browse the repository at this point in the history
spec.
  • Loading branch information
jens-maus committed Nov 11, 2023
1 parent d8d78b9 commit c56247f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Signed-off-by: Jens Maus <mail@jens-maus.de>
if(ret < 0)
{
- printk( KERN_INFO EQ3LOOP_DRIVER_NAME ": eq3loop_write_master() retrun error:");
+ printk( KERN_INFO EQ3LOOP_DRIVER_NAME ": eq3loop_write_master() return error: %ld", ret);
+ printk( KERN_INFO EQ3LOOP_DRIVER_NAME ": eq3loop_write_master() return error: %zd", ret);
}
if( ret > 0 || CIRC_CNT(channel->master2slave_buf.head,channel->master2slave_buf.tail,BUFSIZE) )
{
Expand Down

0 comments on commit c56247f

Please sign in to comment.