libc/locale: Use _getprogname().
authorSascha Wildner <saw@online.de>
Tue, 2 Mar 2010 11:16:02 +0000 (12:16 +0100)
committerSascha Wildner <saw@online.de>
Tue, 2 Mar 2010 11:16:24 +0000 (12:16 +0100)
lib/libc/locale/collate.c

index 3391f19..543a1fa 100644 (file)
@@ -254,7 +254,7 @@ __collate_err(int ex, const char *f)
        const char *progname;
        int serrno = errno;
 
-       progname = getprogname();
+       progname = _getprogname();
        _write(STDERR_FILENO, progname, strlen(progname));
        _write(STDERR_FILENO, ": ", 2);
        _write(STDERR_FILENO, f, strlen(f));