diff options
Diffstat (limited to 'source3/services/svc_rcinit.c')
-rw-r--r-- | source3/services/svc_rcinit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/services/svc_rcinit.c b/source3/services/svc_rcinit.c index 199e5f12ce1..a47931d63b6 100644 --- a/source3/services/svc_rcinit.c +++ b/source3/services/svc_rcinit.c @@ -30,7 +30,7 @@ static WERROR rcinit_stop( const char *service, struct SERVICE_STATUS *status ) if (asprintf(&command, "%s/%s/%s stop", get_dyn_MODULESDIR(), SVCCTL_SCRIPT_DIR, service) < 0) { - return WERR_NOMEM; + return WERR_NOT_ENOUGH_MEMORY; } /* we've already performed the access check when the service was opened */ @@ -64,7 +64,7 @@ static WERROR rcinit_start( const char *service ) if (asprintf(&command, "%s/%s/%s start", get_dyn_MODULESDIR(), SVCCTL_SCRIPT_DIR, service) < 0) { - return WERR_NOMEM; + return WERR_NOT_ENOUGH_MEMORY; } /* we've already performed the access check when the service was opened */ @@ -91,7 +91,7 @@ static WERROR rcinit_status( const char *service, struct SERVICE_STATUS *status if (asprintf(&command, "%s/%s/%s status", get_dyn_MODULESDIR(), SVCCTL_SCRIPT_DIR, service) < 0) { - return WERR_NOMEM; + return WERR_NOT_ENOUGH_MEMORY; } /* we've already performed the access check when the service was opened */ |