summaryrefslogtreecommitdiff
path: root/source3
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
commitfe5123c2ecdd9abc40c04107343771ab9ec630ef (patch)
treee57ad4e7afb485657bfff7dc08d08703e8699223 /source3
parent1b8125265c0b60686518f7a4b5e77ccf0de69938 (diff)
downloadsamba-fe5123c2ecdd9abc40c04107343771ab9ec630ef.tar.gz
samba-fe5123c2ecdd9abc40c04107343771ab9ec630ef.tar.bz2
samba-fe5123c2ecdd9abc40c04107343771ab9ec630ef.zip
r18855: Tell the diff between WERROR and NTSTATUS
Volker (This used to be commit 5cc4117692572f086b44324949546463681b837e)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/nt_status.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/nt_status.h b/source3/include/nt_status.h
index 2b681101db..968657ca44 100644
--- a/source3/include/nt_status.h
+++ b/source3/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)