Ashton Fagg <ash...@fagg.id.au> wrote: > On Mon, 3 May 2021 at 10:17, Theo de Raadt <dera...@openbsd.org> wrote: > > So if the messages were just 'unveil %s: error' or 'unveil: %s: error' > > I would be thrilled, as this allows users to realize why the program is > > not working right. > > Florian/Theo, > > Thanks for the reviews. > > So it sounds like err(1, "unveil: %s error", some_path); is the way to > go - with the exception of unveil(NULL, NULL) as discussed since > that's not ambiguous as there's no path involved.
No, it is either: err(1, "unveil %s", path) or err(1, "unveil: %s", path) I remain undecided between those two, i don't particularily like two :: in a error message.