Skip to content

Commit

Permalink
CA-61230: remove a spurious warning in the xapi udev code.
Browse files Browse the repository at this point in the history
Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information
David Scott committed Jun 14, 2011
1 parent 9a6c688 commit ef85ec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ocaml/xenops/hotplug.ml
Expand Up @@ -224,12 +224,12 @@ let release ~xs (x: device) =
debug "Hotplug.release releasing %s" loopdev;
umount_loopdev loopdev;
xs.Xs.rm (path ^ "/loop-device")
| "online" ->
debug "Warning, deleting 'online' entry from %s" path;
| "hotplug" ->
debug "xenstore-rm %s/online" path;
xs.Xs.rm (path ^ "/online")
| "" -> () (* XXX? *)
| x ->
warn "Warning, deleting '%s' entry from %s" x path;
warn "Warning, deleting unexpected '%s' entry from %s" x path;
xs.Xs.rm (path ^ "/" ^ x)
) all;
xs.Xs.rm path
Expand Down

0 comments on commit ef85ec0

Please sign in to comment.