Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
src/audit.c: print the default filename, when arg file isn't provided
rilysh committed 2 years ago
commit 6df495807aaa802eea84bc35d5e511dcb7fdc14e
parent d8582c8
1 file changed +1 -1
modified src/audit.c
@@ -278,7 +278,7 @@ exec_audit(int argc, char **argv)
		if (errno == ENOENT)
			warnx("vulnxml file %s does not exist. "
					"Try running 'pkg audit -F' first",
-
					audit_file);
+
			    audit_file == NULL ? "vuln.xml" : audit_file);
		else
			warn("unable to open vulnxml file %s",
					audit_file);