Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff06671

Browse files
author
Michael W. Hudson
committed
Fix for
[ #496154 ] Typos in dynload_beos.c as suggested in the report. A little embarassing; 2.2.1 candidate for sure.
1 parent 64e9d61 commit ff06671

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/dynload_beos.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
206206
return NULL;
207207
}
208208

209-
PyOs_snprintf(funcname, sizeof(funcname), "init%.200s", shortname);
209+
PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname);
210210
if( Py_VerboseFlag ) {
211211
printf( "get_image_symbol( %s )\n", funcname );
212212
}
@@ -233,7 +233,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
233233
"Bad index for %.180s", funcname );
234234
break;
235235
default:
236-
PyOS_snprintf( buff, sizeof(buf),
236+
PyOS_snprintf( buff, sizeof(buff),
237237
"can't load init function for dynamic module: "
238238
"Unknown error looking up %.180s", funcname );
239239
break;

0 commit comments

Comments
 (0)