summaryrefslogtreecommitdiffstats
path: root/source3/services
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 17:19:26 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 17:19:26 +0100
commitddcab787c408824ff753b929abd2240bc088451d (patch)
treec8ce5dfec9e143e21defff7a8168ec2586046329 /source3/services
parentedb7ac69cf739f4f266870adec4a7e51787d9ca8 (diff)
downloadsamba-ddcab787c408824ff753b929abd2240bc088451d.tar.gz
samba-ddcab787c408824ff753b929abd2240bc088451d.tar.xz
samba-ddcab787c408824ff753b929abd2240bc088451d.zip
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
Diffstat (limited to 'source3/services')
-rw-r--r--source3/services/services_db.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/services/services_db.c b/source3/services/services_db.c
index 0f5264bcd8..dbd2da1c65 100644
--- a/source3/services/services_db.c
+++ b/source3/services/services_db.c
@@ -358,7 +358,7 @@ static void add_new_svc_name( REGISTRY_KEY *key_parent, REGSUBKEY_CTR *subkeys,
get_root_nt_token(), REG_KEY_ALL );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("add_new_svc_name: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
SAFE_FREE(path);
return;
}
@@ -400,7 +400,7 @@ static void add_new_svc_name( REGISTRY_KEY *key_parent, REGSUBKEY_CTR *subkeys,
get_root_nt_token(), REG_KEY_ALL );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("add_new_svc_name: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
TALLOC_FREE( key_secdesc );
SAFE_FREE(path);
return;
@@ -455,7 +455,7 @@ void svcctl_init_keys( void )
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("svcctl_init_keys: key lookup failed! (%s)\n",
- dos_errstr(wresult)));
+ win_errstr(wresult)));
return;
}
@@ -519,7 +519,7 @@ SEC_DESC *svcctl_get_secdesc( TALLOC_CTX *ctx, const char *name, NT_USER_TOKEN *
REG_KEY_ALL );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("svcctl_get_secdesc: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
goto done;
}
@@ -579,7 +579,7 @@ bool svcctl_set_secdesc( TALLOC_CTX *ctx, const char *name, SEC_DESC *sec_desc,
REG_KEY_ALL );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("svcctl_get_secdesc: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
SAFE_FREE(path);
return False;
}
@@ -634,7 +634,7 @@ const char *svcctl_lookup_dispname(TALLOC_CTX *ctx, const char *name, NT_USER_TO
REG_KEY_READ );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("svcctl_lookup_dispname: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
SAFE_FREE(path);
goto fail;
}
@@ -684,7 +684,7 @@ const char *svcctl_lookup_description(TALLOC_CTX *ctx, const char *name, NT_USER
REG_KEY_READ );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("svcctl_lookup_description: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
SAFE_FREE(path);
return NULL;
}
@@ -728,7 +728,7 @@ REGVAL_CTR *svcctl_fetch_regvalues( const char *name, NT_USER_TOKEN *token )
REG_KEY_READ );
if ( !W_ERROR_IS_OK(wresult) ) {
DEBUG(0,("svcctl_fetch_regvalues: key lookup failed! [%s] (%s)\n",
- path, dos_errstr(wresult)));
+ path, win_errstr(wresult)));
SAFE_FREE(path);
return NULL;
}