summaryrefslogtreecommitdiff
path: root/support/pkgcheck/src/messages/mod.rs
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-27 03:01:20 +0000
committerNorbert Preining <norbert@preining.info>2022-12-27 03:01:20 +0000
commit9dfeafbb128537c1633d77071d8cc9b9f8c5a800 (patch)
tree56cf38eaffabfda73a52e047b3a189ba830fd0b6 /support/pkgcheck/src/messages/mod.rs
parent200df2fd74322d3c7b4bb2a69e711a40265ead1b (diff)
CTAN sync 202212270301
Diffstat (limited to 'support/pkgcheck/src/messages/mod.rs')
-rw-r--r--support/pkgcheck/src/messages/mod.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/support/pkgcheck/src/messages/mod.rs b/support/pkgcheck/src/messages/mod.rs
index 3de39bdb81..721f27ff7b 100644
--- a/support/pkgcheck/src/messages/mod.rs
+++ b/support/pkgcheck/src/messages/mod.rs
@@ -123,7 +123,7 @@ macro_rules! f0010 {
($fmt:expr) => {{
error_occurred!();
eprintln!(
- "{} Config file's content could no be read properly: {} Exiting...",
+ "{} Config file's content could not be read properly: {} Exiting...",
fatal!("F0010"), $fmt
);
}};
@@ -576,6 +576,11 @@ macro_rules! w0009 {
}};
}
+macro_rules! w0010 {
+ ($fmt:expr) => {{
+ warn!("{} Hardlinks detected with inode={}", "W0010", $fmt,);
+ }};
+}
macro_rules! i0002 {
($fmt:expr) => {{
@@ -717,6 +722,7 @@ pub fn explains(err: &str) {
"W0007" => w0007d(),
"W0008" => w0008d(),
"W0009" => w0009d(),
+ "W0010" => w0010d(),
e => eprintln!(
"{} Unknown error code `{}` specified with option -e resp. --explain. Exiting...",
@@ -799,4 +805,5 @@ pub fn explains_all() {
explains("W0007");
explains("W0008");
explains("W0009");
+ explains("W0010");
}