Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/liboslexec/rendservices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ RendererServices::filefmt(OSL::ShaderGlobals* sg,
arg_values, message);
// By default, do not write to file for security reasons. Instead prefix the
// the message with the filename and hand it to the current error handler.
auto file_message = OSL::fmtformat("{}:{}", filename_hash.c_str(), message);
auto file_message = OSL::fmtformat("{}:{}", filename_hash, message);
ShadingContext* ctx = (ShadingContext*)((ShaderGlobals*)sg)->context;
ctx->messagefmt(file_message.c_str());
}
Expand Down
2 changes: 1 addition & 1 deletion src/liboslexec/wide/wide_opmessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ __OSL_MASKED_OP(getmessage)(void* bsg_, void* result, ustring_pod source_,
Mask(lane),
"type mismatch for message \"{}\" ({} as {} here: {}:{})"
" cannot fetch as {} from {}:{}",
name.c_str(), has_data ? "created" : "queried",
name, has_data ? "created" : "queried",
m->type == TypeDesc::PTR ? "closure color"
: m->type.c_str(),
msg_sourcefile, msg_sourceline,
Expand Down
Loading