summaryrefslogtreecommitdiff
path: root/source3/lib/popt_common.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 12:48:00 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commitd166b798529dab4538054d0b68797c0cc17f34de (patch)
tree8bbdeba0c71b1819abe153e7bf3a2c024adc42cf /source3/lib/popt_common.c
parent9cc056e567fe923bb3a19fce3828cdbea9a3d2f7 (diff)
downloadsamba-d166b798529dab4538054d0b68797c0cc17f34de.tar.gz
samba-d166b798529dab4538054d0b68797c0cc17f34de.tar.bz2
samba-d166b798529dab4538054d0b68797c0cc17f34de.zip
build: Remove sys_open wrapper
Diffstat (limited to 'source3/lib/popt_common.c')
-rw-r--r--source3/lib/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index 0c8f691c25..3bcee1c8d7 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -375,7 +375,7 @@ static void get_password_file(struct user_auth_info *auth_info)
sscanf(p, "%d", &fd);
close_it = false;
} else if ((p = getenv("PASSWD_FILE")) != NULL) {
- fd = sys_open(p, O_RDONLY, 0);
+ fd = open(p, O_RDONLY, 0);
spec = SMB_STRDUP(p);
if (fd < 0) {
fprintf(stderr, "Error opening PASSWD_FILE %s: %s\n",