mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 06:06:03 -06:00
Changes:
* Move msg to the end of errExit (right before perror(3p))
* Include the full file path (within the repository)
* Add "()" to function name for clarity
Before:
Error malloc: main.c:123 main: Cannot allocate memory
After:
Error src/firejail/main.c:123 main(): malloc: Cannot allocate memory
Note: This clarifies which is the exact file that the error message
comes from, as there are many source files with the same name. For
example:
$ git ls-files 'src/*/main.c' | wc -l
20
|
||
|---|---|---|
| .. | ||
| appimage-args.exp | ||
| appimage-trace.exp | ||
| appimage-v2.exp | ||
| appimage.sh | ||
| filename.exp | ||
| hello-x86_64.AppImage | ||
| main.c | ||