diff --git a/Knot.files b/Knot.files
index 6e32f1759c32b3aa1e3032ba3c97de00ff7d5a90..d4c8c28620257cc1cc63a7e44b26d0b6f9ad17e1 100644
--- a/Knot.files
+++ b/Knot.files
@@ -50,7 +50,7 @@ src/libknot/util/utils.h
 src/libknot/util/utils.c
 src/libknot/util/descriptor.h
 src/libknot/util/descriptor.c
-src/libknot/util/error.c
+src/libknot/util/libknot_error.c
 src/libknot/util/error.h
 src/libknot/zone/zonedb.h
 src/libknot/zone/zonedb.c