summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index fc339ffaa9..da9ac8d279 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -446,7 +446,7 @@ static int process_root(int local_flags)
struct samu *sampass = NULL;
sampass = samu_new( NULL );
- if (!samu_new) {
+ if (!sampass) {
fprintf(stderr, "talloc fail for struct samu.\n");
exit(1);
}