From e42dfbbb724a6927b060a86bdf7b646d3f6c22eb Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 1 Dec 2016 05:16:15 +0000 Subject: [PATCH] scst_vdisk: Remove a superfluous cast git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7044 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 768686c70..93fdc3c0c 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -2048,7 +2048,7 @@ static int vdisk_format_dif(struct scst_cmd *cmd, uint64_t start_lba, iv_count, &loff, 0); if (err < 0) { PRINT_ERROR("Formatting DIF write() returned %lld from " - "%zd", (long long)err, full_len); + "%zd", err, full_len); if (err == -EAGAIN) scst_set_busy(cmd); else