diff options
author | bp <bp@FreeBSD.org> | 2001-12-31 19:29:43 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2001-12-31 19:29:43 +0000 |
commit | 544b7f650b84ebff1e5222615498b9bb03a79b74 (patch) | |
tree | 7af3b7ff40493e5b27d29b825f268462cb54eae3 /sys/netsmb | |
parent | 65c137db8e32df880beb38795b27baf339afb662 (diff) | |
download | FreeBSD-src-544b7f650b84ebff1e5222615498b9bb03a79b74.zip FreeBSD-src-544b7f650b84ebff1e5222615498b9bb03a79b74.tar.gz |
Spelling fixes.
PR: kern/33131
Submitted by: Anders Andersson <anders@hack.org>
MFC after: 1 week
Diffstat (limited to 'sys/netsmb')
-rw-r--r-- | sys/netsmb/netbios.h | 2 | ||||
-rw-r--r-- | sys/netsmb/smb.h | 8 | ||||
-rw-r--r-- | sys/netsmb/smb_conn.h | 6 | ||||
-rw-r--r-- | sys/netsmb/smb_rq.c | 8 | ||||
-rw-r--r-- | sys/netsmb/smb_rq.h | 2 | ||||
-rw-r--r-- | sys/netsmb/smb_trantcp.c | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/sys/netsmb/netbios.h b/sys/netsmb/netbios.h index 961f5be..fabe243 100644 --- a/sys/netsmb/netbios.h +++ b/sys/netsmb/netbios.h @@ -89,7 +89,7 @@ #define NBNS_NMFLAG_BCAST 0x01 #define NBNS_NMFLAG_RA 0x08 /* recursion available */ #define NBNS_NMFLAG_RD 0x10 /* recursion desired */ -#define NBNS_NMFLAG_TC 0x20 /* truncation occured */ +#define NBNS_NMFLAG_TC 0x20 /* truncation occurred */ #define NBNS_NMFLAG_AA 0x40 /* authoritative answer */ /* diff --git a/sys/netsmb/smb.h b/sys/netsmb/smb.h index d9ed020..cdcc585 100644 --- a/sys/netsmb/smb.h +++ b/sys/netsmb/smb.h @@ -33,7 +33,7 @@ */ /* - * Common definintions and structures for SMB/CIFS protocol + * Common definitions and structures for SMB/CIFS protocol */ #ifndef _NETSMB_SMB_H_ @@ -97,7 +97,7 @@ enum smb_dialects { * Security mode bits */ #define SMB_SM_USER 0x01 /* server in the user security mode */ -#define SMB_SM_ENCRYPT 0x02 /* use challenge/responce */ +#define SMB_SM_ENCRYPT 0x02 /* use challenge/response */ /* * NTLM capabilities @@ -336,7 +336,7 @@ enum smb_dialects { #define ERRqfull 49 /* Print queue full */ #define ERRqtoobig 50 /* Print queue full - no space */ #define ERRinvpfid 52 /* Invalid print file FID */ -#define ERRsmbcmd 64 /* The server did not recognise the command */ +#define ERRsmbcmd 64 /* The server did not recognize the command */ #define ERRsrverror 65 /* The server encountered and internal error */ #define ERRfilespecs 67 /* The Fid and path name contains an invalid combination */ #define ERRbadpermits 69 /* Access mode invalid */ @@ -350,7 +350,7 @@ enum smb_dialects { #define ERRtoomanyuids 90 /* Too many UIDs active on this session */ #define ERRbaduid 91 /* The UID is not known in this session */ #define ERRusempx 250 /* Temporarily unable to support Raw, use MPX mode */ -#define ERRusestd 251 /* Temporarily unable to support Raw, use stdandard r/w */ +#define ERRusestd 251 /* Temporarily unable to support Raw, use standard r/w */ #define ERRcontmpx 252 /* Continue in MPX mode */ #define ERRnosupport 65535 /* Invalid function */ diff --git a/sys/netsmb/smb_conn.h b/sys/netsmb/smb_conn.h index 80d5abb..5ea14f2 100644 --- a/sys/netsmb/smb_conn.h +++ b/sys/netsmb/smb_conn.h @@ -78,8 +78,8 @@ #define SMBV_WIN95 0x0010 /* used to apply bugfixes for this OS */ #define SMBV_PRIVATE 0x0020 /* connection can be used only by creator */ #define SMBV_RECONNECTING 0x0040 /* conn is in the process of reconnection */ -#define SMBV_SINGLESHARE 0x0080 /* only one share connectin should be allowed */ -#define SMBV_CREATE 0x0100 /* lookup for create opeartion */ +#define SMBV_SINGLESHARE 0x0080 /* only one share connecting should be allowed */ +#define SMBV_CREATE 0x0100 /* lookup for create operation */ /*#define SMBV_FAILED 0x0200*/ /* last reconnect attempt has failed */ @@ -114,7 +114,7 @@ struct smb_sopt { u_int16_t sv_rawmode; u_int32_t sv_maxraw; /* maximum raw-buffer size */ u_int32_t sv_skey; /* session key */ - u_int32_t sv_caps; /* capabilites SMB_CAP_ */ + u_int32_t sv_caps; /* capabilities SMB_CAP_ */ }; /* diff --git a/sys/netsmb/smb_rq.c b/sys/netsmb/smb_rq.c index 6172b81..002a62c 100644 --- a/sys/netsmb/smb_rq.c +++ b/sys/netsmb/smb_rq.c @@ -451,8 +451,8 @@ smb_t2_reply(struct smb_t2rq *t2p) return 0; } /* - * Now we have to get all subseqent responses. The CIFS specification - * says that they can be misordered which is weird. + * Now we have to get all subsequent responses. The CIFS specification + * says that they can be disordered which is weird. * TODO: timo */ totpgot = totdgot = 0; @@ -479,7 +479,7 @@ smb_t2_reply(struct smb_t2rq *t2p) (error = md_get_uint16le(mdp, &pdisp)) != 0) break; if (pcount != 0 && pdisp != totpgot) { - SMBERROR("Can't handle misordered parameters %d:%d\n", + SMBERROR("Can't handle disordered parameters %d:%d\n", pdisp, totpgot); error = EINVAL; break; @@ -489,7 +489,7 @@ smb_t2_reply(struct smb_t2rq *t2p) (error = md_get_uint16le(mdp, &ddisp)) != 0) break; if (dcount != 0 && ddisp != totdgot) { - SMBERROR("Can't handle misordered data\n"); + SMBERROR("Can't handle disordered data\n"); error = EINVAL; break; } diff --git a/sys/netsmb/smb_rq.h b/sys/netsmb/smb_rq.h index d37647b..7d99fea 100644 --- a/sys/netsmb/smb_rq.h +++ b/sys/netsmb/smb_rq.h @@ -119,7 +119,7 @@ struct smb_t2rq { int t2_flags; /* SMBT2_ */ struct mbchain t2_tparam; /* parameters to transmit */ struct mbchain t2_tdata; /* data to transmit */ - struct mdchain t2_rparam; /* received paramters */ + struct mdchain t2_rparam; /* received parameters */ struct mdchain t2_rdata; /* received data */ struct smb_cred*t2_cred; struct smb_connobj *t2_source; diff --git a/sys/netsmb/smb_trantcp.c b/sys/netsmb/smb_trantcp.c index 567556e..171e83b 100644 --- a/sys/netsmb/smb_trantcp.c +++ b/sys/netsmb/smb_trantcp.c @@ -132,7 +132,7 @@ nbssn_rselect(struct nbpcb *nbp, struct timeval *tv, int events, if (timevalcmp(&rtv, &atv, >=)) { /* * An event of our interest may occur during locking a process. - * In order to avoid missing the event that occured during locking + * In order to avoid missing the event that occurred during locking * the process, test P_SELECT and rescan file descriptors if * necessary. */ |