libsmbconf: Convert smbconf_delete_parameter() to sbcErr.
[ira/wip.git] / lib / smbconf / smbconf_txt.c
index e31009e7b26c4f9958ed4fe83a10546b3e516c50..17dee486d552bbd0b23bb821f6a968e252ed304a 100644 (file)
@@ -526,11 +526,11 @@ static sbcErr smbconf_txt_get_parameter(struct smbconf_ctx *ctx,
 /**
  * delete a parameter from configuration
  */
-static WERROR smbconf_txt_delete_parameter(struct smbconf_ctx *ctx,
+static sbcErr smbconf_txt_delete_parameter(struct smbconf_ctx *ctx,
                                           const char *service,
                                           const char *param)
 {
-       return WERR_NOT_SUPPORTED;
+       return SBC_ERR_NOT_SUPPORTED;
 }
 
 static WERROR smbconf_txt_get_includes(struct smbconf_ctx *ctx,