summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-15 10:06:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:27 -0500
commit99f271b3cb8c07c28e3ca14fead9942aa103ec8e (patch)
tree3067d0359b87a6507ca952a1fbf84c5ed8d373cc /source3
parent7e40933d7b6f4e32940075bff3a81213d95a59f0 (diff)
downloadsamba-99f271b3cb8c07c28e3ca14fead9942aa103ec8e.tar.gz
samba-99f271b3cb8c07c28e3ca14fead9942aa103ec8e.tar.bz2
samba-99f271b3cb8c07c28e3ca14fead9942aa103ec8e.zip
r16247: Fix Coverity ID 296
(This used to be commit b82c95cb438b57bb8910e26657f8ffb590fe02df)
Diffstat (limited to 'source3')
-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);
}