Spelling fixes.

PR:		kern/33131
Submitted by:	Anders Andersson <anders@hack.org>
MFC after:	1 week
This commit is contained in:
Boris Popov 2001-12-31 19:29:43 +00:00
parent 566726db95
commit fc75194c3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88741
6 changed files with 14 additions and 14 deletions

View File

@ -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 */
/*

View File

@ -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 */

View File

@ -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_ */
};
/*

View File

@ -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;
}

View File

@ -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;

View File

@ -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.
*/