From 4bf2ec40a9a818fc273b542c1209f7b0f457a280 Mon Sep 17 00:00:00 2001 From: IonutParau Date: Fri, 1 Aug 2025 01:35:09 +0200 Subject: [PATCH] oops --- src/components/volatileFilesystem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/volatileFilesystem.c b/src/components/volatileFilesystem.c index 3495e90..4d2bdba 100644 --- a/src/components/volatileFilesystem.c +++ b/src/components/volatileFilesystem.c @@ -233,12 +233,12 @@ void nn_vfs_deinit(nn_vfilesystem *fs) { nn_dealloc(&ctx.allocator, fs, sizeof(nn_vfilesystem)); } -void nn_vfs_getLabel(nn_vfilesystem *fs, char *buf, nn_size_t *buflen) { +void nn_vfs_getLabel(nn_vfilesystem *fs, char *buf, nn_size_t *buflen, nn_errorbuf_t err) { *buflen = fs->opts.labelLen; nn_memcpy(buf, fs->opts.label, fs->opts.labelLen); } -void nn_vfs_setLabel(nn_vfilesystem *fs, const char *buf, nn_size_t buflen) { +void nn_vfs_setLabel(nn_vfilesystem *fs, const char *buf, nn_size_t buflen, nn_errorbuf_t err) { nn_memcpy(fs->opts.label, buf, buflen); fs->opts.labelLen = buflen; }