]> granicus.if.org Git - python/commitdiff
Fix for
authorMichael W. Hudson <mwh@python.net>
Wed, 23 Jan 2002 15:51:12 +0000 (15:51 +0000)
committerMichael W. Hudson <mwh@python.net>
Wed, 23 Jan 2002 15:51:12 +0000 (15:51 +0000)
[ #496154 ] Typos in dynload_beos.c

as suggested in the report.  A little embarassing; 2.2.1 candidate for sure.

Python/dynload_beos.c

index eec8592820a75ee4d83b0410285ab79b42bf93e9..5b05d6b7330ee7fcf0ec1286fa88bff0e7d4b19a 100644 (file)
@@ -206,7 +206,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
                return NULL;
        }
 
-       PyOs_snprintf(funcname, sizeof(funcname), "init%.200s", shortname);
+       PyOS_snprintf(funcname, sizeof(funcname), "init%.200s", shortname);
        if( Py_VerboseFlag ) {
                printf( "get_image_symbol( %s )\n", funcname );
        }
@@ -233,7 +233,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
                               "Bad index for %.180s", funcname );
                        break;
                default:
-                       PyOS_snprintf( buff, sizeof(buf),
+                       PyOS_snprintf( buff, sizeof(buff),
                               "can't load init function for dynamic module: "
                               "Unknown error looking up %.180s", funcname );
                        break;