diff options
-rw-r--r-- | source4/include/nt_status.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/include/nt_status.h b/source4/include/nt_status.h index e95e1a745c..71c69cc441 100644 --- a/source4/include/nt_status.h +++ b/source4/include/nt_status.h @@ -58,7 +58,7 @@ typedef uint32_t WERROR; #define NT_STATUS_IS_ERR(x) ((NT_STATUS_V(x) & 0xc0000000) == 0xc0000000) #define NT_STATUS_EQUAL(x,y) (NT_STATUS_V(x) == NT_STATUS_V(y)) -#define NT_STATUS_HAVE_NO_MOMORY(x) do { \ +#define NT_STATUS_HAVE_NO_MEMORY(x) do { \ if (!(x)) {\ return NT_STATUS_NO_MEMORY;\ }\ @@ -67,7 +67,7 @@ typedef uint32_t WERROR; #define W_ERROR_IS_OK(x) (W_ERROR_V(x) == 0) #define W_ERROR_EQUAL(x,y) (W_ERROR_V(x) == W_ERROR_V(y)) -#define W_ERROR_HAVE_NO_MOMORY(x) do { \ +#define W_ERROR_HAVE_NO_MEMORY(x) do { \ if (!(x)) {\ return WERR_NOMEM;\ }\ |