 		RC rc = winGetTempname(file->system, &tfile);
 		if (rc == RC_OK)
 			*(char **)aArg = tfile;
-		OSTRACE(("FCNTL file=%p, rc=%s\n", file->h, sqlite3ErrName(rc)));
+		OSTRACE(("FCNTL file=%p, rc=%s\n", file->h, runtimeErrName(rc)));
 		return rc; }
 #if LIBCU_MAXMMAPSIZE>0
 	case FCNTL_MMAP_SIZE: {

	int refs;               // Number of winShm objects pointing to this
	winShm *first;          // All winShm objects pointing to this
	winShmNode *next;       // Next in list of all winShmNode objects
#if defined(LIBCU_DEBUG) || defined(LIBCU_HAVE_OS_TRACE)
	uint8_t nextShmId;      // Next available winShm.id value
#endif
};

	uint8_t hasMutex;			// True if holding the winShmNode mutex
	uint16_t sharedMask;		// Mask of shared locks held
	uint16_t exclMask;			// Mask of exclusive locks held
#if defined(_DEBUG) || defined(LIBCU_HAVE_OS_TRACE)
	uint8_t id;					// Id of this connection with its winShmNode
#endif
};
