summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-22 23:25:44 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-22 23:25:44 +0000
commit22e62916d8c1a8633239c77bdd996490db869b50 (patch)
treef90b12307fcbc3de67e6f13c31ce53c27b22bb19 /source3/sam
parent1ce67b7672ab58afd76d0ad9cc0343e688c6770d (diff)
downloadsamba-22e62916d8c1a8633239c77bdd996490db869b50.tar.gz
samba-22e62916d8c1a8633239c77bdd996490db869b50.tar.bz2
samba-22e62916d8c1a8633239c77bdd996490db869b50.zip
- Use FUNCTION_MACRO, not __FUNCTION__.
- Add some const (This used to be commit e149e70717f38e082ce35d55f9b4d84ba8419af7)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/gumm_tdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/sam/gumm_tdb.c b/source3/sam/gumm_tdb.c
index 53ea872a11..5e390490cf 100644
--- a/source3/sam/gumm_tdb.c
+++ b/source3/sam/gumm_tdb.c
@@ -38,8 +38,8 @@ static int tdbgumm_debug_level = DBGC_ALL;
#define TDB_FORMAT_STRING "ddB"
-#define TALLOC_CHECK(ptr, err, label) do { if ((ptr) == NULL) { DEBUG(0, ("%s: Out of memory!\n", __FUNCTION__)); err = NT_STATUS_NO_MEMORY; goto label; } } while(0)
-#define SET_OR_FAIL(func, label) do { if (NT_STATUS_IS_ERR(func)) { DEBUG(0, ("%s: Setting gums object data failed!\n", __FUNCTION__)); goto label; } } while(0)
+#define TALLOC_CHECK(ptr, err, label) do { if ((ptr) == NULL) { DEBUG(0, ("%s: Out of memory!\n", FUNCTION_MACRO)); err = NT_STATUS_NO_MEMORY; goto label; } } while(0)
+#define SET_OR_FAIL(func, label) do { if (NT_STATUS_IS_ERR(func)) { DEBUG(0, ("%s: Setting gums object data failed!\n", FUNCTION_MACRO)); goto label; } } while(0)
struct tdbsam2_enum_objs {
uint32 type;