diff options
Diffstat (limited to 'source3/passdb/pdb_smbpasswd.c')
-rw-r--r-- | source3/passdb/pdb_smbpasswd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/passdb/pdb_smbpasswd.c b/source3/passdb/pdb_smbpasswd.c index 8d6ac318cb..005c23d34e 100644 --- a/source3/passdb/pdb_smbpasswd.c +++ b/source3/passdb/pdb_smbpasswd.c @@ -225,6 +225,9 @@ creating file %s\n", pfile)); lock_type = F_WRLCK; break; } + default: + DEBUG(10, ("Invalid open mode: %d\n", type)); + return NULL; } for(race_loop = 0; race_loop < 5; race_loop++) { |