summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_workgroupdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd/nmbd_workgroupdb.c')
-rw-r--r--source3/nmbd/nmbd_workgroupdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_workgroupdb.c b/source3/nmbd/nmbd_workgroupdb.c
index 485253680b..01477c8113 100644
--- a/source3/nmbd/nmbd_workgroupdb.c
+++ b/source3/nmbd/nmbd_workgroupdb.c
@@ -52,7 +52,7 @@ static void add_workgroup(struct subnet_record *subrec, struct work_record *work
Create an empty workgroup.
**************************************************************************/
-static struct work_record *create_workgroup(char *name, int ttl)
+static struct work_record *create_workgroup(const char *name, int ttl)
{
struct work_record *work;
struct subnet_record *subrec;
@@ -180,7 +180,7 @@ struct work_record *find_workgroup_on_subnet(struct subnet_record *subrec,
**************************************************************************/
struct work_record *create_workgroup_on_subnet(struct subnet_record *subrec,
- fstring name, int ttl)
+ const char *name, int ttl)
{
struct work_record *work = NULL;