summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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;
}