Fix typos

Correct various typos in the comments and tests.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Closes #10423
This commit is contained in:
Andrea Gelmini
2020-06-10 06:24:09 +02:00
committed by GitHub
parent 7bcb7f0840
commit dd4bc569b9
48 changed files with 74 additions and 73 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/*
* CDDL HEADER SART
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
+2 -2
View File
@@ -201,7 +201,7 @@ restart_mountd(void)
/* Cannot open pidfile for some reason. */
return;
}
/* We have mountd(8) PID in mountdpid varible. */
/* We have mountd(8) PID in mountdpid variable. */
kill(mountdpid, SIGHUP);
}
@@ -342,7 +342,7 @@ fsshare_main(const char *file, const char *mountpoint, const char *shareopts,
error = 0;
}
/* Place big, fat warning at the begining of the file. */
/* Place big, fat warning at the beginning of the file. */
fprintf(newfd, "%s", FILE_HEADER);
while (oldfd != NULL && (line = zgetline(oldfd, mountpoint)) != NULL)
fprintf(newfd, "%s\n", line);