diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 12:45:06 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:08 +0200 |
commit | 9cc056e567fe923bb3a19fce3828cdbea9a3d2f7 (patch) | |
tree | d8963890f4b86d506d6f5fe7debd603e4069adf4 /source3/client | |
parent | ced1f61ec12e752045c3c3611f5bf0816a1458e5 (diff) | |
download | samba-9cc056e567fe923bb3a19fce3828cdbea9a3d2f7.tar.gz samba-9cc056e567fe923bb3a19fce3828cdbea9a3d2f7.tar.xz samba-9cc056e567fe923bb3a19fce3828cdbea9a3d2f7.zip |
build: Remove sys_creat wrapper
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/clitar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c index bf18e54f61..43311c13ae 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -1968,8 +1968,8 @@ int tar_parseargs(int argc, char *argv[], const char *Optarg, int Optind) } else { if (tar_type=='c' && dry_run) { tarhandle=-1; - } else if ((tar_type=='x' && (tarhandle = sys_open(argv[Optind], O_RDONLY, 0)) == -1) - || (tar_type=='c' && (tarhandle=sys_creat(argv[Optind], 0644)) < 0)) { + } else if ((tar_type=='x' && (tarhandle = open(argv[Optind], O_RDONLY, 0)) == -1) + || (tar_type=='c' && (tarhandle=creat(argv[Optind], 0644)) < 0)) { DEBUG(0,("Error opening local file %s - %s\n", argv[Optind], strerror(errno))); return(0); } |