From 4e74536a122148a3472fc095c2f6cedbf9c1d855 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Thu, 4 Dec 2003 13:07:17 +0000 Subject: [PATCH] Replaced __FUNCTION__ with hand written string because VC6 doesn't support it git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1292 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/uio/utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sc2/src/sc2code/libs/uio/utils.c b/sc2/src/sc2code/libs/uio/utils.c index 6aabe0627..9288ca61a 100644 --- a/sc2/src/sc2code/libs/uio/utils.c +++ b/sc2/src/sc2code/libs/uio/utils.c @@ -263,8 +263,8 @@ uio_getStdioAccess(uio_DirHandle *dir, const char *path, int flags, res = uio_getFileLocation(newDir, name, flags, &mountHandle, &newPath); if (res == -1) { int savedErrno = errno; - fprintf(stderr, "Error: %s: Could not get location of temporary " - "dir: %s.\n", __FUNCTION__, strerror(errno)); + fprintf(stderr, "Error: uio_getStdioAccess: Could not get location of temporary " + "dir: %s.\n", strerror(errno)); uio_closeDir(newDir); uio_free(tempDirName); errno = savedErrno; @@ -274,8 +274,8 @@ uio_getStdioAccess(uio_DirHandle *dir, const char *path, int flags, fsID = uio_getMountFileSystemType(mountHandle); if (fsID != uio_FSTYPE_STDIO) { // Temp dir isn't on a stdio fs either. - fprintf(stderr, "Error: %s: Temporary file location isn't on a " - "stdio filesystem.\n", __FUNCTION__); + fprintf(stderr, "Error: uio_getStdioAccess: Temporary file location isn't on a " + "stdio filesystem.\n"); uio_closeDir(newDir); uio_free(tempDirName); uio_free(newPath);