Fixed a compiler warning.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-06-17 17:44:29 +00:00
parent d3a2a54d48
commit 0efa1826b0

View File

@@ -2347,7 +2347,7 @@ void scst_pr_preempt_and_abort(struct scst_cmd *cmd, uint8_t *buffer,
cmd->pr_abort_counter = kzalloc(sizeof(*cmd->pr_abort_counter),
GFP_KERNEL);
if (cmd->pr_abort_counter == NULL) {
PRINT_ERROR("Unable to allocate PR abort counter (size %d)",
PRINT_ERROR("Unable to allocate PR abort counter (size %zd)",
sizeof(*cmd->pr_abort_counter));
scst_set_busy(cmd);
goto out;