]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli: Fix code spelling
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 22 Sep 2023 00:04:20 +0000 (12:04 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Oct 2023 22:23:37 +0000 (22:23 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/util/nterr.c
libcli/util/ntstatus.h

index 0a57a8fd28e8038b99b17cf6b4e4f97f64dea253..cfe89f2d7ea28d5b458525889a549df3a9c22353 100644 (file)
@@ -357,7 +357,7 @@ const char *nt_errstr(NTSTATUS nt_code)
 }
 
 /************************************************************************
- Print friendler version fo NT error code
+ Print friendlier version of NT error code
  ***********************************************************************/
 
 const char *get_friendly_nt_error_msg(NTSTATUS nt_code)
index 9a1d1fd855ac568f54da21844c5db16898c60236..566d75f22b65c0bdde93f8cd272fdebda8ca64e9 100644 (file)
@@ -99,7 +99,7 @@ typedef uint32_t NTSTATUS;
 const char *nt_errstr(NTSTATUS nt_code);
 
 /************************************************************************
- Print friendler version fo NT error code
+ Print friendlier version of NT error code
  ***********************************************************************/
 const char *get_friendly_nt_error_msg(NTSTATUS nt_code);
 
@@ -139,7 +139,7 @@ NTSTATUS nt_status_string_to_code(const char *nt_status_str);
        }\
 } while (0)
 
-/* This varient is for when you want to free a local
+/* This variant is for when you want to free a local
    temporary memory context in the error path */
 #define NT_STATUS_HAVE_NO_MEMORY_AND_FREE(x, ctx) do { \
        if (!(x)) {\