diff options
author | James Peach <jpeach@samba.org> | 2007-06-15 21:58:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:23 -0500 |
commit | b1ce226af8b61ad7e3c37860a59c6715012e738b (patch) | |
tree | 4067151ac0de549002434afb9f42e75f052c6754 /source3/nsswitch/winbindd_util.c | |
parent | aa4110e6f2432d76926198ce7a2a4adea4e1860a (diff) | |
download | samba-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/nsswitch/winbindd_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 082ec4440b..83d915429f 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -56,7 +56,7 @@ struct winbindd_domain *domain_list(void) /* Initialise list */ if ((!_domain_list) && (!init_domain_list())) { - smb_panic("Init_domain_list failed\n"); + smb_panic("Init_domain_list failed"); } return _domain_list; @@ -857,7 +857,7 @@ struct winbindd_domain *find_our_domain(void) return domain; } - smb_panic("Could not find our domain\n"); + smb_panic("Could not find our domain"); return NULL; } @@ -882,8 +882,9 @@ struct winbindd_domain *find_builtin_domain(void) string_to_sid(&sid, "S-1-5-32"); domain = find_domain_from_sid(&sid); - if (domain == NULL) - smb_panic("Could not find BUILTIN domain\n"); + if (domain == NULL) { + smb_panic("Could not find BUILTIN domain"); + } return domain; } |