summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln.c b/dln.c
index 1ad9a8ac45..ebad1e0091 100644
--- a/dln.c
+++ b/dln.c
@@ -1535,7 +1535,7 @@ dln_load(file)
if (p1 = strrchr(fname,'/'))
fname = p1 + 1;
if (p2 = strrchr(fname,'.'))
- *p2 = '¥0';
+ *p2 = '\0';
if ((handle = (void*)dlopen(fname, 0)) == NULL) {
goto failed;