mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -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
11 lines
138 B
Makefile
11 lines
138 B
Makefile
.SUFFIXES:
|
|
ROOT = ../..
|
|
-include $(ROOT)/config.mk
|
|
|
|
MOD_DIR = src/lib
|
|
TARGET = lib
|
|
|
|
include $(ROOT)/src/prog.mk
|
|
|
|
.PHONY: lib
|
|
lib: $(OBJS)
|