From 583b7d412d7e97ef04400071e5836f33682d31d9 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 29 Dec 2020 09:53:17 +0100 Subject: [PATCH] samples/swkbd: Use FS_ERROR_FLAG_NONE instead of 0 --- samples/cmake/swkbd/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/cmake/swkbd/main.cpp b/samples/cmake/swkbd/main.cpp index d54325e..712456b 100644 --- a/samples/cmake/swkbd/main.cpp +++ b/samples/cmake/swkbd/main.cpp @@ -18,7 +18,7 @@ int main(int argc, char **argv) // Create FSClient for swkbd FSClient *fsClient = (FSClient *)MEMAllocFromDefaultHeap(sizeof(FSClient)); - FSAddClient(fsClient, 0); + FSAddClient(fsClient, FS_ERROR_FLAG_NONE); // Create swkbd nn::swkbd::CreateArg createArg; @@ -114,7 +114,7 @@ int main(int argc, char **argv) nn::swkbd::Destroy(); MEMFreeToDefaultHeap(createArg.workMemory); - FSDelClient(fsClient, 0); + FSDelClient(fsClient, FS_ERROR_FLAG_NONE); MEMFreeToDefaultHeap(fsClient); FSShutdown();