io, net, evnet: quote file names in error messages
This commit is contained in:

committed by
Max Kellermann

parent
b3a31b69ee
commit
1e4bf90c60
@@ -46,7 +46,7 @@ InotifyEvent::AddWatch(const char *pathname, uint32_t mask)
|
||||
{
|
||||
int wd = TryAddWatch(pathname, mask);
|
||||
if (wd < 0)
|
||||
throw FmtErrno("inotify_add_watch('{}') failed", pathname);
|
||||
throw FmtErrno("inotify_add_watch({:?}) failed", pathname);
|
||||
|
||||
return wd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user