rxrpc: Do a little bit of tidying in the ICMP processing
Do a little bit of tidying in the ICMP processing code.
Signed-off-by: David Howells <dhowells@redhat.com>
diff --git a/net/rxrpc/peer_event.c b/net/rxrpc/peer_event.c
index 6ba798d..31c440a 100644
--- a/net/rxrpc/peer_event.c
+++ b/net/rxrpc/peer_event.c
@@ -245,15 +245,13 @@
break;
case SO_EE_ORIGIN_LOCAL:
- _proto("Rx Received local error { error=%d }",
- ee->ee_errno);
+ _proto("Rx Received local error { error=%d }", err);
break;
case SO_EE_ORIGIN_NONE:
case SO_EE_ORIGIN_ICMP6:
default:
- _proto("Rx Received error report { orig=%u }",
- ee->ee_origin);
+ _proto("Rx Received error report { orig=%u }", ee->ee_origin);
break;
}