aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_error.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgamma_error.py')
-rw-r--r--src/libgamma_error.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libgamma_error.py b/src/libgamma_error.py
index 0012a21..afefd5e 100644
--- a/src/libgamma_error.py
+++ b/src/libgamma_error.py
@@ -464,7 +464,7 @@ def create_error(error_code : int) -> Exception:
error_code = ctypes.get_errno()
if error_code >= 0:
- import c
+ import libgamma_native_error as c
e = OSError()
e.errno = error_code
e.strerror = c.strerror(e.errno)