« Previous | Next » 

Revision f5075224

IDf5075224d6e7fe8cae7e3c1b52a6d0f7bd3533d0

Added by Richard W.M. Jones over 10 years ago

block/iscsi.c: Fix printf format error.

The error on armv7hl was:

block/iscsi.c: In function ‘is_request_lun_aligned’:
block/iscsi.c:251:26: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ [-Werror=format=]
iscsilun->block_size, sector_num, nb_sectors);
^

This also splits the long line to comply with qemu coding guidelines.

Signed-off-by: Richard W.M. Jones <>
Reviewed-by: Stefan Weil <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Michael Tokarev <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences