diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-12-12 19:50:12 +0300 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2020-12-12 18:06:28 +0100 |
commit | 0f0e6c5372250692cdaf35913143d33fcc60d17e (patch) | |
tree | 92e07e31d62adeaf49e652c49085f544610fef90 | |
parent | adbf4bafc2398e90a90a4e98b4ce2e05614c617b (diff) | |
download | elfutils-0f0e6c5372250692cdaf35913143d33fcc60d17e.tar.gz |
debuginfod: fix spelling typos in error diagnostics and comments
Initalize -> Initialize
Unsucessful -> Unsuccessful
expession -> expression
incompatiblity -> incompatibility
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
-rw-r--r-- | debuginfod/ChangeLog | 7 | ||||
-rw-r--r-- | debuginfod/debuginfod-client.c | 4 | ||||
-rw-r--r-- | debuginfod/debuginfod.cxx | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index 0a7e458f..379af287 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,10 @@ +2020-12-12 Dmitry V. Levin <ldv@altlinux.org> + + * debuginfod-client.c (debuginfod_query_server): Fix spelling typos in + comments. + * debuginfod.cxx: Likewise. + (parse_opt): Fix spelling typos in error diagnostics. + 2020-12-08 Dmitry V. Levin <ldv@altlinux.org> * Makefile.am [LIBDEBUGINFOD]: Create libdebuginfod.so.1 first, turn diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index a99f3c14..de26af5b 100644 --- a/debuginfod/debuginfod-client.c +++ b/debuginfod/debuginfod-client.c @@ -751,7 +751,7 @@ debuginfod_query_server (debuginfod_client *c, /* thereafter, goto out1 on error. */ - /* Initalize handle_data with default values. */ + /* Initialize handle_data with default values. */ for (int i = 0; i < num_urls; i++) { data[i].handle = NULL; @@ -954,7 +954,7 @@ debuginfod_query_server (debuginfod_client *c, if (msg->data.result != CURLE_OK) { - /* Unsucessful query, determine error code. */ + /* Unsuccessful query, determine error code. */ switch (msg->data.result) { case CURLE_COULDNT_RESOLVE_HOST: rc = -EHOSTUNREACH; break; // no NXDOMAIN diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx index 41698787..9a697186 100644 --- a/debuginfod/debuginfod.cxx +++ b/debuginfod/debuginfod.cxx @@ -125,7 +125,7 @@ string_endswith(const string& haystack, const string& needle) } -// Roll this identifier for every sqlite schema incompatiblity. +// Roll this identifier for every sqlite schema incompatibility. #define BUILDIDS "buildids9" #if SQLITE_VERSION_NUMBER >= 3008000 @@ -521,13 +521,13 @@ parse_opt (int key, char *arg, regfree (&file_include_regex); rc = regcomp (&file_include_regex, arg, REG_EXTENDED|REG_NOSUB); if (rc != 0) - argp_failure(state, 1, EINVAL, "regular expession"); + argp_failure(state, 1, EINVAL, "regular expression"); break; case 'X': regfree (&file_exclude_regex); rc = regcomp (&file_exclude_regex, arg, REG_EXTENDED|REG_NOSUB); if (rc != 0) - argp_failure(state, 1, EINVAL, "regular expession"); + argp_failure(state, 1, EINVAL, "regular expression"); break; case ARGP_KEY_FDCACHE_FDS: fdcache_fds = atol (arg); |