s3-net: Fixed a small typo in net conf function table
[samba.git] / libgpo / gpo_ini.c
index 674c741bbac1ec3d4da5c8baf225c097d2624ab5..494162466d05ae05f9dc57ae03fa887f6f6805bf 100644 (file)
@@ -88,7 +88,7 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
        }
 
        if (!convert_string_talloc(mem_ctx, CH_UTF16LE, CH_UNIX, data_in, n,
-                                  (void **)&data_out, &converted_size, false))
+                                  (void *)&data_out, &converted_size))
        {
                status = NT_STATUS_INVALID_BUFFER_SIZE;
                goto out;
@@ -108,7 +108,7 @@ static NTSTATUS convert_file_from_ucs2(TALLOC_CTX *mem_ctx,
        }
 
        if (write(tmp_fd, data_out, converted_size) != converted_size) {
-               status = map_nt_error_from_unix(errno);
+               status = map_nt_error_from_unix_common(errno);
                goto out;
        }