From 730370e5650fbf0cacc9a684b8f6f69e88f151dc Mon Sep 17 00:00:00 2001 From: Takumi Ando Date: Thu, 21 Dec 2023 13:15:58 +0900 Subject: [PATCH] fsutils: passwd: Fix wrong macro passwd_update/adduser/deluser should be enabled if CONFIG_FSUTILS_PASSWD_READONLY is NOT defined. Signed-off-by: Takumi Ando --- include/fsutils/passwd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fsutils/passwd.h b/include/fsutils/passwd.h index b8eac9fb485..2b8234301a0 100644 --- a/include/fsutils/passwd.h +++ b/include/fsutils/passwd.h @@ -59,7 +59,7 @@ * ****************************************************************************/ -#if defined(CONFIG_FSUTILS_PASSWD_READONLY) +#if !defined(CONFIG_FSUTILS_PASSWD_READONLY) int passwd_adduser(FAR const char *username, FAR const char *password); /****************************************************************************