]> granicus.if.org Git - python/commitdiff
Convert another %s to %ls.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 6 Apr 2008 17:57:16 +0000 (17:57 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 6 Apr 2008 17:57:16 +0000 (17:57 +0000)
Modules/main.c

index 81a3d46d3f3543af0ce409e762c8c0ddcd2a575f..4af2e77a0cd09320c6769b3e6bd3b4b03be43d15 100644 (file)
@@ -539,7 +539,7 @@ Py_Main(int argc, wchar_t **argv)
 
                if (sts==-1 && filename!=NULL) {
                        if ((fp = _wfopen(filename, L"r")) == NULL) {
-                               fprintf(stderr, "%s: can't open file '%ls': [Errno %d] %s\n",
+                               fprintf(stderr, "%ls: can't open file '%ls': [Errno %d] %s\n",
                                        argv[0], filename, errno, strerror(errno));
 
                                return 2;