style
This commit is contained in:
parent
19c37d2ca1
commit
bd8cc0ad22
|
@ -364,7 +364,7 @@ module Log = struct
|
||||||
| `Signal n -> "signal", n
|
| `Signal n -> "signal", n
|
||||||
| `Stop n -> "stop", n
|
| `Stop n -> "stop", n
|
||||||
in
|
in
|
||||||
Fmt.pf ppf "STOPPED %d with %s %d" pid s c
|
Fmt.pf ppf "STOPPED %d with %s %a" pid s Fmt.Dump.signal c
|
||||||
| `Block_create (name, size) ->
|
| `Block_create (name, size) ->
|
||||||
Fmt.pf ppf "BLOCK_CREATE %s %d" name size
|
Fmt.pf ppf "BLOCK_CREATE %s %d" name size
|
||||||
| `Block_destroy name -> Fmt.pf ppf "BLOCK_DESTROY %s" name
|
| `Block_destroy name -> Fmt.pf ppf "BLOCK_DESTROY %s" name
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
open Lwt.Infix
|
open Lwt.Infix
|
||||||
|
|
||||||
let pp_process_status ppf = function
|
let pp_process_status ppf = function
|
||||||
| Unix.WEXITED c -> Fmt.pf ppf "exited with %d" c
|
| Unix.WEXITED c -> Fmt.pf ppf "exited with %d" c
|
||||||
| Unix.WSIGNALED s -> Fmt.pf ppf "killed by signal %a" Fmt.Dump.signal s
|
| Unix.WSIGNALED s -> Fmt.pf ppf "killed by signal %a" Fmt.Dump.signal s
|
||||||
| Unix.WSTOPPED s -> Fmt.pf ppf "stopped by signal %a" Fmt.Dump.signal s
|
| Unix.WSTOPPED s -> Fmt.pf ppf "stopped by signal %a" Fmt.Dump.signal s
|
||||||
|
|
||||||
let ret = function
|
let ret = function
|
||||||
| Unix.WEXITED c -> `Exit c
|
| Unix.WEXITED c -> `Exit c
|
||||||
|
|
Loading…
Reference in a new issue