Skip to content

Commit 730370e

Browse files
takumiandopkarashchenko
authored andcommitted
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 <[email protected]>
1 parent afa282c commit 730370e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fsutils/passwd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
*
6060
****************************************************************************/
6161

62-
#if defined(CONFIG_FSUTILS_PASSWD_READONLY)
62+
#if !defined(CONFIG_FSUTILS_PASSWD_READONLY)
6363
int passwd_adduser(FAR const char *username, FAR const char *password);
6464

6565
/****************************************************************************

0 commit comments

Comments
 (0)