Skip to content

Commit

Permalink
fsutils: passwd: Fix wrong macro
Browse files Browse the repository at this point in the history
passwd_update/adduser/deluser should be enabled
if CONFIG_FSUTILS_PASSWD_READONLY is NOT defined.

Signed-off-by: Takumi Ando <[email protected]>
  • Loading branch information
takumiando authored and pkarashchenko committed Dec 21, 2023
1 parent afa282c commit 730370e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fsutils/passwd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/****************************************************************************
Expand Down

0 comments on commit 730370e

Please sign in to comment.