werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in source3/rpc_server/
[metze/samba/wip.git] / source3 / rpc_server / svcctl / srv_svcctl_nt.c
index e7fa75332181d5205ce0f52f3e3fafc5b23dc2b9..d4bf2e70e351c9603bb80a861ab0461747a40662 100644 (file)
@@ -652,7 +652,7 @@ WERROR _svcctl_QueryServiceStatusEx(struct pipes_struct *p,
                }
 
                default:
-                       return WERR_UNKNOWN_LEVEL;
+                       return WERR_INVALID_LEVEL;
        }
 
 
@@ -834,7 +834,7 @@ WERROR _svcctl_QueryServiceConfig2W(struct pipes_struct *p,
                break;
 
        default:
-               return WERR_UNKNOWN_LEVEL;
+               return WERR_INVALID_LEVEL;
        }
 
        buffer_size = blob.length;