summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_parse/parse_svcctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_svcctl.c b/source3/rpc_parse/parse_svcctl.c
index e1a7ad8427..dd0c68bd79 100644
--- a/source3/rpc_parse/parse_svcctl.c
+++ b/source3/rpc_parse/parse_svcctl.c
@@ -41,7 +41,7 @@ static BOOL svcctl_io_service_status( const char *desc, SERVICE_STATUS *status,
if(!prs_uint32("controls_accepted", ps, depth, &status->controls_accepted))
return False;
- if(!prs_uint32("win32_exit_code", ps, depth, &status->win32_exit_code))
+ if(!prs_werror("win32_exit_code", ps, depth, &status->win32_exit_code))
return False;
if(!prs_uint32("service_exit_code", ps, depth, &status->service_exit_code))