Message ID | 20100330204534.GA12061@llnl.gov (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
diff --git a/net/9p/client.c b/net/9p/client.c index e3e5bf4..4d66e97 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -84,8 +84,9 @@ static unsigned char get_protocol_version(const substring_t *n ame) version = p9_proto_2000L; P9_DPRINTK(P9_DEBUG_9P, "Protocol version: 9P2000.L\n"); } else { - P9_DPRINTK(P9_DEBUG_ERROR, "Unknown protocol version %s. ", - name->from); + P9_DPRINTK(P9_DEBUG_ERROR, "Unknown protocol version %.*s\n", + name->to-name->from, name->from); + } return version;