Currently we are printing file name wrongly.
pos->file ? (char *) pos->file : "")
It should be pos->file->name, and secondly if we got NULL
file struture,we will anyway derefer it in last printf.
So, Fixing the same.
caught with static analysis tool.
Signed-off-by: Maninder Singh
Currently we are printing file name wrongly.
pos->file ? (char *) pos->file : "")
It should be pos->file->name, and secondly if we got NULL
file struture,we will anyway derefer it in last printf.
So, Fixing the same.
caught with static analysis tool.
Signed-off-by: Maninder Singh
2 matches
Mail list logo