summaryrefslogtreecommitdiffstats
path: root/source/include
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-09-23 21:27:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:01:05 -0500
commit5cc4117692572f086b44324949546463681b837e (patch)
treedaf73cd96c879342f22111f8ef41319b2e111a14 /source/include
parent776bd5e36d439a59e2c557e9405a30eeedd78fd2 (diff)
downloadsamba-5cc4117692572f086b44324949546463681b837e.tar.gz
samba-5cc4117692572f086b44324949546463681b837e.tar.xz
samba-5cc4117692572f086b44324949546463681b837e.zip
r18855: Tell the diff between WERROR and NTSTATUS
Volker
Diffstat (limited to 'source/include')
-rw-r--r--source/include/nt_status.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/nt_status.h b/source/include/nt_status.h
index 2b681101db6..968657ca44f 100644
--- a/source/include/nt_status.h
+++ b/source/include/nt_status.h
@@ -45,9 +45,9 @@ typedef uint32 NTSTATUS;
#endif
#if defined(HAVE_IMMEDIATE_STRUCTURES)
-typedef struct {uint32 v;} WERROR;
+typedef struct {uint32 w;} WERROR;
#define W_ERROR(x) ((WERROR) { x })
-#define W_ERROR_V(x) ((x).v)
+#define W_ERROR_V(x) ((x).w)
#else
typedef uint32 WERROR;
#define W_ERROR(x) (x)