summaryrefslogtreecommitdiffstats
path: root/sftp-server.c
diff options
context:
space:
mode:
authorjsg@openbsd.org <jsg@openbsd.org>2022-01-01 02:55:30 +0100
committerDamien Miller <djm@mindrot.org>2022-01-01 05:19:48 +0100
commitcb885178f36b83d0f14cfe9f345d2068103feed0 (patch)
treeda0508e769f669e1170eca4fd6033c7ad0b60d06 /sftp-server.c
parentupstream: split method list search functionality from (diff)
downloadopenssh-cb885178f36b83d0f14cfe9f345d2068103feed0.tar.xz
openssh-cb885178f36b83d0f14cfe9f345d2068103feed0.zip
upstream: spelling ok dtucker@
OpenBSD-Commit-ID: bfc7ba74c22c928de2e257328b3f1274a3dfdf19
Diffstat (limited to 'sftp-server.c')
-rw-r--r--sftp-server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-server.c b/sftp-server.c
index a502858df..05cd4ebc6 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.134 2021/11/18 03:06:03 djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.135 2022/01/01 01:55:30 jsg Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -667,7 +667,7 @@ send_statvfs(u_int32_t id, struct statvfs *st)
/*
* Prepare SSH2_FXP_VERSION extension advertisement for a single extension.
- * The extension is checked for permission prior to advertisment.
+ * The extension is checked for permission prior to advertisement.
*/
static int
compose_extension(struct sshbuf *msg, const char *name, const char *ver)
@@ -704,7 +704,7 @@ process_init(void)
(r = sshbuf_put_u32(msg, SSH2_FILEXFER_VERSION)) != 0)
fatal_fr(r, "compose");
- /* extension advertisments */
+ /* extension advertisements */
compose_extension(msg, "posix-rename@openssh.com", "1");
compose_extension(msg, "statvfs@openssh.com", "2");
compose_extension(msg, "fstatvfs@openssh.com", "2");