Fix typos in "valid"
authorMichael Hanselmann <public@hansmi.ch>
Sun, 17 Mar 2019 12:04:52 +0000 (13:04 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Apr 2019 09:10:55 +0000 (09:10 +0000)
s/vald/valid/

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13840

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 305346d360d3c13fd315c1af27b037f46fd10650)

source3/registry/regfio.c
source3/torture/torture.c

index 9bb89ff11d479be9047e497bf56067dc7c0f1f72..7e323da9dababc6d8dcdf1b7cd96d850ae5f32c9 100644 (file)
@@ -178,7 +178,7 @@ static int read_block( REGF_FILE *file, prs_struct *ps, uint32_t file_offset, ui
                        return False;
                }
                if ( (returned == 0) && (bytes_read < block_size) ) {
-                       DEBUG(0,("read_block: not a vald registry file ?\n" ));
+                       DEBUG(0,("read_block: not a valid registry file ?\n" ));
                        return False;
                }       
                
index 018ebba6c52228101d438f1663770356a5d029f6..4abd80253e56f2a6fc96ecd677cae2a129a6897e 100644 (file)
@@ -9651,7 +9651,7 @@ static bool run_uid_regression_test(int dummy)
                goto out;
        }
 
-       /* Now try a SMBtdis with the invald vuid set to zero. */
+       /* Now try a SMBtdis with the invalid vuid set to zero. */
        cli_state_set_uid(cli, 0);
 
        /* This should succeed. */