diff options
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 1120d0340310..e0b429c20baf 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -1696,13 +1696,13 @@ int socket_init(void) | |||
1696 | 1696 | ||
1697 | res = proto_register(&tipc_proto, 1); | 1697 | res = proto_register(&tipc_proto, 1); |
1698 | if (res) { | 1698 | if (res) { |
1699 | err("Unable to register TIPC protocol type\n"); | 1699 | err("Failed to register TIPC protocol type\n"); |
1700 | goto out; | 1700 | goto out; |
1701 | } | 1701 | } |
1702 | 1702 | ||
1703 | res = sock_register(&tipc_family_ops); | 1703 | res = sock_register(&tipc_family_ops); |
1704 | if (res) { | 1704 | if (res) { |
1705 | err("Unable to register TIPC socket type\n"); | 1705 | err("Failed to register TIPC socket type\n"); |
1706 | proto_unregister(&tipc_proto); | 1706 | proto_unregister(&tipc_proto); |
1707 | goto out; | 1707 | goto out; |
1708 | } | 1708 | } |