Skip to content

Commit 4353d73

Browse files
Use pretty instead of show
Co-authored-by: Simmo Saan <simmo.saan@gmail.com>
1 parent 108174c commit 4353d73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyses/pthreadSignals.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ struct
9393
(match List.fold_left (fun acc cond -> can_be_signalled cond ||| acc) Never conds with
9494
| PossiblySignalled -> add_if_singleton conds
9595
| NotConcurrently ->
96-
(M.warn ~category:Deadcode "The condition variable(s) pointed to by %s are never signalled concurrently, succeeding code is live due to spurious wakeups only!" (Basetype.CilExp.show cond); ctx.local)
96+
(M.warn ~category:Deadcode "The condition variable(s) pointed to by %a are never signalled concurrently, succeeding code is live due to spurious wakeups only!" Basetype.CilExp.pretty cond; ctx.local)
9797
| Never ->
98-
(M.warn ~category:Deadcode "The condition variable(s) pointed to by %s are never signalled, succeeding code is live due to spurious wakeups only!" (Basetype.CilExp.show cond); ctx.local)
98+
(M.warn ~category:Deadcode "The condition variable(s) pointed to by %a are never signalled, succeeding code is live due to spurious wakeups only!" Basetype.CilExp.pretty cond; ctx.local)
9999
)
100100

101101
| TimedWait _ ->

0 commit comments

Comments
 (0)