lr: Use SfBufferAttr_FixedSize in _lrResolvePath().

This commit is contained in:
yellows8 2019-10-22 18:53:20 -04:00
parent d025041e3d
commit 42b6af8e07
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -42,7 +42,7 @@ Result lrOpenRegisteredLocationResolver(LrRegisteredLocationResolver* out) {
static Result _lrResolvePath(Service* s, u64 tid, char *out, u32 cmd_id) {
char out_path[FS_MAX_PATH] = {0};
Result rc = serviceDispatchIn(s, cmd_id, tid,
.buffer_attrs = { SfBufferAttr_Out | SfBufferAttr_HipcPointer },
.buffer_attrs = { SfBufferAttr_Out | SfBufferAttr_HipcPointer | SfBufferAttr_FixedSize },
.buffers = { { out_path, FS_MAX_PATH } },
);