From 42b0e9558a308dbc954ee60c3d346b5cabcd2fdb Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 12 May 2024 18:09:23 -0400 Subject: indent: Fix spelling -- These are non-substantive corrections for minor spelling mistakes within the GnuPG codebase. With something like this applied to the codebase, and a judiciously tuned spellchecker integrated as part of a standard test suite, it should be possible to keep a uniform orthography within the project. GnuPG-bug-id: 7116 --- tpm2d/Makefile.am | 2 +- tpm2d/tpm2daemon.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tpm2d') diff --git a/tpm2d/Makefile.am b/tpm2d/Makefile.am index ef9487139..4394b102f 100644 --- a/tpm2d/Makefile.am +++ b/tpm2d/Makefile.am @@ -1,4 +1,4 @@ -# Makfile.am - Makefile for tpm2d +# Makefile.am - Makefile for tpm2d # Copyright (C) 2021 James Bottomley # # This file is part of GnuPG. diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c index 8e16e931a..46d20388a 100644 --- a/tpm2d/tpm2daemon.c +++ b/tpm2d/tpm2daemon.c @@ -411,12 +411,12 @@ main (int argc, char **argv ) */ - /* The configuraton directories for use by gpgrt_argparser. */ + /* The configuration directories for use by gpgrt_argparser. */ gpgrt_set_confdir (GPGRT_CONFDIR_SYS, gnupg_sysconfdir ()); gpgrt_set_confdir (GPGRT_CONFDIR_USER, gnupg_homedir ()); /* We are re-using the struct, thus the reset flag. We OR the - * flags so that the internal intialized flag won't be cleared. */ + * flags so that the internal initialized flag won't be cleared. */ argc = orig_argc; argv = orig_argv; pargs.argc = &argc; @@ -895,7 +895,7 @@ handle_signal (int signo) /* Create a name for the socket. We check for valid characters as well as against a maximum allowed length for a unix domain socket is done. The function terminates the process in case of an error. - Retunrs: Pointer to an allcoated string with the absolute name of + Returns: Pointer to an allocated string with the absolute name of the socket used. */ static char * create_socket_name (char *standard_name) -- cgit v1.2.3