monitor: handover of correct state for cap revocations
authorReto Achermann <reto.achermann@inf.ethz.ch>
Wed, 5 Aug 2015 11:34:56 +0000 (13:34 +0200)
committerDavid Cock <david.cock@inf.ethz.ch>
Tue, 11 Aug 2015 09:19:39 +0000 (11:19 +0200)
Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

usr/monitor/capops/revoke.c

index 7368f77..c6650a0 100644 (file)
@@ -87,7 +87,7 @@ capops_revoke(struct domcapref cap,
 
     if (distcap_state_is_foreign(state)) {
         // need to retrieve ownership
-        capops_retrieve(rst->cap, revoke_retrieve__rx, st);
+        capops_retrieve(rst->cap, revoke_retrieve__rx, rst);
     }
     else {
         if (num_monitors_online() == 1) {