From: pcarana Date: Tue, 31 Mar 2020 23:11:29 +0000 (-0600) Subject: Fix typo at incidence ID X-Git-Tag: v1.2.1~7 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f565bbaffffeb1574a4af638b2274b4c7487acb;p=thirdparty%2FFORT-validator.git Fix typo at incidence ID --- diff --git a/docs/incidence.md b/docs/incidence.md index 16e8aaaf..df38c8ac 100644 --- a/docs/incidence.md +++ b/docs/incidence.md @@ -112,7 +112,7 @@ If not `ignore`d, Fort will report this incidence with the following error messa ### File listed at manifest doesn't exist -- **Name:** `incid-file-at_mft-not-found` +- **Name:** `incid-file-at-mft-not-found` - **Default action:** `error` [RFC 6486 section 6.1](https://tools.ietf.org/html/rfc6486#section-6.1) considers this scenario: diff --git a/examples/config.json b/examples/config.json index 550d1958..e9d34e12 100644 --- a/examples/config.json +++ b/examples/config.json @@ -75,7 +75,7 @@ "action": "ignore" }, { - "name": "incid-file-at_mft-not-found", + "name": "incid-file-at-mft-not-found", "action": "error" }, { diff --git a/man/fort.8 b/man/fort.8 index e6ddb691..d75031a6 100644 --- a/man/fort.8 +++ b/man/fort.8 @@ -165,7 +165,7 @@ as parameters). [Default action: \fBignore\fR] \fIincid-obj-not-der-encoded\fR (Object isn't DER encoded). [Default action: \fBignore\fR] .br -\fIincid-file-at_mft-not-found\fR (File listed at manifest doesn't exist). +\fIincid-file-at-mft-not-found\fR (File listed at manifest doesn't exist). [Default action: \fBerror\fR] .br \fIincid-file-at-mft-hash-not-match\fR (File hash listed at manifest doesn't diff --git a/src/incidence/incidence.c b/src/incidence/incidence.c index fe71afa3..16f1ec47 100644 --- a/src/incidence/incidence.c +++ b/src/incidence/incidence.c @@ -31,7 +31,7 @@ static struct incidence incidences[__INID_MAX] = { }, { INID_MFT_FILE_NOT_FOUND, - "incid-file-at_mft-not-found", + "incid-file-at-mft-not-found", "File listed at manifest doesn't exist", INAC_ERROR, },