server: Use attributes instead of inherit flag in snapshot requests.
diff --git a/server/protocol.def b/server/protocol.def
index 2dfd020..0792f22 100644
--- a/server/protocol.def
+++ b/server/protocol.def
@@ -1096,7 +1096,7 @@
 #define SNAP_MODULE     0x00000008
 /* Create a snapshot */
 @REQ(create_snapshot)
-    int          inherit;       /* inherit flag */
+    unsigned int attributes;    /* object attributes */
     int          flags;         /* snapshot flags (SNAP_*) */
     process_id_t pid;           /* process id */
 @REPLY
diff --git a/server/snapshot.c b/server/snapshot.c
index 7695f0d..4159962 100644
--- a/server/snapshot.c
+++ b/server/snapshot.c
@@ -236,7 +236,7 @@
     reply->handle = 0;
     if ((snapshot = create_snapshot( req->pid, req->flags )))
     {
-        reply->handle = alloc_handle( current->process, snapshot, 0, req->inherit );
+        reply->handle = alloc_handle( current->process, snapshot, 0, req->attributes & OBJ_INHERIT );
         release_object( snapshot );
     }
 }
diff --git a/server/trace.c b/server/trace.c
index d79adb6..5cdcfef 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -1494,7 +1494,7 @@
 
 static void dump_create_snapshot_request( const struct create_snapshot_request *req )
 {
-    fprintf( stderr, " inherit=%d,", req->inherit );
+    fprintf( stderr, " attributes=%08x,", req->attributes );
     fprintf( stderr, " flags=%d,", req->flags );
     fprintf( stderr, " pid=%04x", req->pid );
 }