From d04cbd59cfe6edc117c19c92d2fc8f0db4873aff Mon Sep 17 00:00:00 2001 From: Evgeniy Polyakov Date: Sat, 10 Mar 2012 17:17:59 +0400 Subject: [PATCH] Use appropriate error for debug --- fs/pohmelfs/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pohmelfs/net.c b/fs/pohmelfs/net.c index 070c3913eba..bcf8984142e 100644 --- a/fs/pohmelfs/net.c +++ b/fs/pohmelfs/net.c @@ -432,7 +432,7 @@ static void pohmelfs_state_io_work(struct work_struct *work) recv_err = pohmelfs_state_recv(st); if (recv_err && (recv_err != -EAGAIN)) { - pohmelfs_print_addr(&st->sa, "state recv error: %d\n", send_err); + pohmelfs_print_addr(&st->sa, "state recv error: %d\n", recv_err); goto err_out_exit; } -- 2.11.4.GIT