Change yet another chmod to g_chmod.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15652 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-02-24 02:46:19 +00:00
parent 1a6ac569c0
commit be3b2d0106

View File

@ -553,7 +553,7 @@ gnc_file_be_write_to_file(FileBackend *fbe,
if(rc == 0)
{
/* Use the permissions from the original data file */
if(chmod(tmp_name, statbuf.st_mode) != 0)
if(g_chmod(tmp_name, statbuf.st_mode) != 0)
{
/* qof_backend_set_error(be, ERR_BACKEND_PERM); */
/* Even if the chmod did fail, the save