diff --git a/man/man1/pmdacisco.1 b/man/man1/pmdacisco.1 index a948597..ed77b45 100644 --- a/man/man1/pmdacisco.1 +++ b/man/man1/pmdacisco.1 @@ -212,7 +212,7 @@ If the Cisco command prompt is different to the default (see .B \-s above), it may be optionally specified here by appending -a exclamation mark (``!'') and the prompt to the end of +an exclamation mark (``!'') and the prompt to the end of .IR interface-spec . .PP The following are examples of valid diff --git a/src/include/impl.h b/src/include/impl.h index eed1c61..248b083 100644 --- a/src/include/impl.h +++ b/src/include/impl.h @@ -587,7 +587,7 @@ EXTERN unsigned int *__pmPDUCntIn; EXTERN unsigned int *__pmPDUCntOut; extern void __pmSetPDUCntBuf(unsigned *, unsigned *); -/* timeout ouptions for __pmGetPDU */ +/* timeout options for __pmGetPDU */ #define TIMEOUT_NEVER 0 #define TIMEOUT_DEFAULT -1 #define GETPDU_ASYNC -2 diff --git a/src/libpcp/src/p_fetch.c b/src/libpcp/src/p_fetch.c index 922dcb3..7b3778e 100644 --- a/src/libpcp/src/p_fetch.c +++ b/src/libpcp/src/p_fetch.c @@ -43,7 +43,7 @@ __pmSendFetch(int fd, int from, int ctxnum, __pmTimeval *when, int numpmid, pmID pp->hdr.len = (int)need; pp->hdr.type = PDU_FETCH; /* - * note: context id may be send twice due to protocol evolution and + * note: context id may be sent twice due to protocol evolution and * backwards compatibility issues */ pp->hdr.from = from; diff --git a/src/libpcp/src/p_profile.c b/src/libpcp/src/p_profile.c index a7ba0c9..0024b53 100644 --- a/src/libpcp/src/p_profile.c +++ b/src/libpcp/src/p_profile.c @@ -64,7 +64,7 @@ __pmSendProfile(int fd, int from, int ctxnum, __pmProfile *instprof) pduProfile->hdr.len = (int)need; pduProfile->hdr.type = PDU_PROFILE; /* - * note: context id may be send twice due to protocol evolution and + * note: context id may be sent twice due to protocol evolution and * backwards compatibility issues */ pduProfile->hdr.from = from; diff --git a/src/libpcp/src/pdu.c b/src/libpcp/src/pdu.c index 4063cb6..09acd8c 100644 --- a/src/libpcp/src/pdu.c +++ b/src/libpcp/src/pdu.c @@ -346,7 +346,7 @@ __pmGetPDU(int fd, int mode, int timeout, __pmPDU **result) * * failed as a result of pmcd exiting and the connection * being reset, or as a result of the kernel ripping - * down the connection (most likely becuase the host at + * down the connection (most likely because the host at * the other end just took a dive) * * from IRIX BDS kernel sources, seems like all of the @@ -469,9 +469,9 @@ check_read_len: php->from = ntohl((unsigned int)php->from); #ifdef PCP_DEBUG if (pmDebug & DBG_TRACE_PDU) { - int j; + int j; char *p; - int jend = (php->len+(int)sizeof(__pmPDU)-1)/(int)sizeof(__pmPDU); + int jend = (php->len+(int)sizeof(__pmPDU)-1)/(int)sizeof(__pmPDU); /* for Purify ... */ p = (char *)*result + php->len;