Changeset 72944 in vbox for trunk/src/VBox/Main/glue
- Timestamp:
- Jul 7, 2018 3:27:11 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123496
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/errorprint.cpp
r72943 r72944 84 84 // pcszSourceFile comes from __FILE__ macro, which always contains the full path, 85 85 // which we don't want to see printed: 86 Utf8Str str = Utf8StrFmt("Context: \"%s\" at line %d of file %s\n",87 pcszContext,88 ulLine,89 RTPathFilename(pcszSourceFile));90 86 // print and log 91 RTMsgError("%s", str.c_str()); 92 Log(("%s", str.c_str())); 87 const char *pszFilenameOnly = RTPathFilename(pcszSourceFile); 88 RTMsgError("Context: \"%s\" at line %d of file %s\n", pcszContext, ulLine, pszFilenameOnly); 89 Log(("Context: \"%s\" at line %d of file %s\n", pcszContext, ulLine, pszFilenameOnly)); 93 90 } 94 91
Note:
See TracChangeset
for help on using the changeset viewer.