r3087: fixed a typo
[gd/samba-autobuild/.git] / source4 / ntvfs / ntvfs_generic.c
index d4c163844ffaec60554597a4b5a202d0993a9718..0be4e5fd8e983247984f8aaeac0c83c1f263f08d 100644 (file)
@@ -913,7 +913,7 @@ NTSTATUS ntvfs_map_close(struct smbsrv_request *req, union smb_close *cl,
                return NT_STATUS_NO_MEMORY;
        }
 
-       switch (cl2->generic.level) {
+       switch (cl->generic.level) {
        case RAW_CLOSE_CLOSE:
                return NT_STATUS_INVALID_LEVEL;