summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-06-15 21:58:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:23 -0500
commitb1ce226af8b61ad7e3c37860a59c6715012e738b (patch)
tree4067151ac0de549002434afb9f42e75f052c6754 /source3/passdb
parentaa4110e6f2432d76926198ce7a2a4adea4e1860a (diff)
downloadsamba-b1ce226af8b61ad7e3c37860a59c6715012e738b.tar.gz
samba-b1ce226af8b61ad7e3c37860a59c6715012e738b.tar.bz2
samba-b1ce226af8b61ad7e3c37860a59c6715012e738b.zip
r23510: Tidy calls to smb_panic by removing trailing newlines. Print the
failed expression in SMB_ASSERT. (This used to be commit 171dc060e2a576d724eed1ca65636bdafffd7713)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/machine_sid.c2
-rw-r--r--source3/passdb/pdb_tdb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index ebf9f2794b..998dd8ad73 100644
--- a/source3/passdb/machine_sid.c
+++ b/source3/passdb/machine_sid.c
@@ -186,7 +186,7 @@ DOM_SID *get_global_sam_sid(void)
pdb_generate_sam_sid() as needed */
if (!(global_sam_sid = pdb_generate_sam_sid())) {
- smb_panic("Could not generate a machine SID\n");
+ smb_panic("could not generate a machine SID");
}
return global_sam_sid;
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 2cb92e542f..094479774b 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1568,7 +1568,7 @@ static BOOL tdbsam_new_rid(struct pdb_methods *methods, uint32 *prid)
done:
if ((tdb != NULL) && (tdb_close(tdb) != 0)) {
- smb_panic("tdb_close(idmap_tdb) failed\n");
+ smb_panic("tdb_close(idmap_tdb) failed");
}
return ret;