summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-31 18:40:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-31 18:40:48 +0200
commit51f00a42f66099535c7c526d4c58acd5e9bb17fe (patch)
tree534f6286ff19c39a25c921e2f5b2639f3ea832a9
parenta9028bcef0834e9fffc93f44d7cbc500758a23cd (diff)
main: properly name label
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b49d270..94f9a7d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -38,7 +38,7 @@ static int __init mod_init(void)
ret = device_init();
if (ret < 0)
- goto err_packet;
+ goto err_device;
ret = genetlink_init();
if (ret < 0)
@@ -51,7 +51,7 @@ static int __init mod_init(void)
err_netlink:
device_uninit();
-err_packet:
+err_device:
return ret;
}