Commit 533e15d0 authored by Sophie Brun's avatar Sophie Brun

Add a patch to fix spelling errors

parent f741ead8
From: Sophie Brun <sophie@offensive-security.com>
Date: Tue, 12 Nov 2019 15:58:08 +0100
Subject: Fix spelling errors
---
src/exif_entry.cpp | 2 +-
src/main.cpp | 2 +-
src/stand.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/exif_entry.cpp b/src/exif_entry.cpp
index aa83519..fb9ff82 100644
--- a/src/exif_entry.cpp
+++ b/src/exif_entry.cpp
@@ -101,7 +101,7 @@ const std::string exif_entry::get_full_name() const {
case IFD1_INTEROPERABILITY:
return "ifd1.interoperability." + name;
default:
- std::cerr << "Program state errror: Invalid ifd type " << ifd_type << "\n";
+ std::cerr << "Program state error: Invalid ifd type " << ifd_type << "\n";
assert(0);
}
return "ERROR"; // required to avoid compiler warning
diff --git a/src/main.cpp b/src/main.cpp
index c624f8c..2592404 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -830,7 +830,7 @@ int main(int argc,char **argv)
{
std::vector<std::string> params = split(optarg,'=');
if(params.size()!=2){
- std::cerr << "Invalid paramter: " << optarg << "\n";
+ std::cerr << "Invalid parameter: " << optarg << "\n";
exit(1);
}
s_config.namevals[params[0]] = params[1];
diff --git a/src/stand.cpp b/src/stand.cpp
index e18dc57..3aba855 100644
--- a/src/stand.cpp
+++ b/src/stand.cpp
@@ -76,7 +76,7 @@ int main(int argc,char **argv)
{
std::vector<std::string> params = split(optarg,'=');
if(params.size()!=2){
- std::cerr << "Invalid paramter: " << optarg << "\n";
+ std::cerr << "Invalid parameter: " << optarg << "\n";
exit(1);
}
//be_config[params[0]] = params[1];
Fix-spelling-errors.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment