From 033185e2a1b2892fe8dc74a18a38e5e13e08cb22 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 23 Jul 2009 20:28:58 -0400 Subject: Make the smbd VFS typesafe --- source3/libsmb/libsmb_xattr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/libsmb/libsmb_xattr.c') diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c index a152830c5d..0e2ffda7a2 100644 --- a/source3/libsmb/libsmb_xattr.c +++ b/source3/libsmb/libsmb_xattr.c @@ -270,7 +270,7 @@ parse_ace(struct cli_state *ipc_cli, uint32_t mask; const struct perm_value *v; struct perm_value { - const char *perm; + const char perm[7]; uint32 mask; }; TALLOC_CTX *frame = talloc_stackframe(); @@ -283,14 +283,14 @@ parse_ace(struct cli_state *ipc_cli, { "D", 0x00010000 }, { "P", 0x00040000 }, { "O", 0x00080000 }, - { NULL, 0 }, + { "", 0 }, }; static const struct perm_value standard_values[] = { { "READ", 0x001200a9 }, { "CHANGE", 0x001301bf }, { "FULL", 0x001f01ff }, - { NULL, 0 }, + { "", 0 }, }; -- cgit