diff options
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |