From 6fbacdc41d37ce3091709e71f6f0e66912237606 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 8 Jun 2015 20:22:59 +0200 Subject: [PATCH] =?UTF-8?q?typo=20fix:=20paramter=20=E2=86=92=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772490 --- plugins/imfile/imfile.c | 2 +- plugins/imptcp/imptcp.c | 2 +- plugins/imrelp/imrelp.c | 2 +- plugins/imtcp/imtcp.c | 2 +- plugins/imudp/imudp.c | 6 +++--- plugins/pmciscoios/pmciscoios.c | 2 +- runtime/cfsysline.c | 2 +- runtime/librsgt_read.c | 2 +- runtime/rsconf.h | 2 +- runtime/rsyslog.h | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index e3d0884789..75035916df 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -599,7 +599,7 @@ pollFile(lstn_t *pLstn, int *pbHadFileData) #pragma GCC diagnostic warning "-Wempty-body" -/* create input instance, set default paramters, and +/* create input instance, set default parameters, and * add it to the list of instances. */ static rsRetVal diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c index 2ca2f685f7..6d8b0e16ec 100644 --- a/plugins/imptcp/imptcp.c +++ b/plugins/imptcp/imptcp.c @@ -1215,7 +1215,7 @@ closeSess(ptcpsess_t *pSess) } -/* create input instance, set default paramters, and +/* create input instance, set default parameters, and * add it to the list of instances. */ static rsRetVal diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c index 5fa125e686..9ff8bab51e 100644 --- a/plugins/imrelp/imrelp.c +++ b/plugins/imrelp/imrelp.c @@ -228,7 +228,7 @@ onSyslogRcv(void *pUsr, uchar *pHostname, uchar *pIP, uchar *msg, size_t lenMsg) /* ------------------------------ end callbacks ------------------------------ */ -/* create input instance, set default paramters, and +/* create input instance, set default parameters, and * add it to the list of instances. */ static rsRetVal diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c index 03107ce0e9..c3780ff54b 100644 --- a/plugins/imtcp/imtcp.c +++ b/plugins/imtcp/imtcp.c @@ -262,7 +262,7 @@ setPermittedPeer(void __attribute__((unused)) *pVal, uchar *pszID) } -/* create input instance, set default paramters, and +/* create input instance, set default parameters, and * add it to the list of instances. */ static rsRetVal diff --git a/plugins/imudp/imudp.c b/plugins/imudp/imudp.c index f3a8e34291..95b2600ac1 100644 --- a/plugins/imudp/imudp.c +++ b/plugins/imudp/imudp.c @@ -189,7 +189,7 @@ static struct cnfparamblk inppblk = #include "im-helper.h" /* must be included AFTER the type definitions! */ -/* create input instance, set default paramters, and +/* create input instance, set default parameters, and * add it to the list of instances. */ static rsRetVal @@ -881,14 +881,14 @@ createListner(es_str_t *port, struct cnfparamvals *pvals) } else if(!strcmp(inppblk.descr[i].name, "name")) { if(inst->inputname != NULL) { errmsg.LogError(0, RS_RET_INVALID_PARAMS, "imudp: name and inputname " - "paramter specified - only one can be used"); + "parameter specified - only one can be used"); ABORT_FINALIZE(RS_RET_INVALID_PARAMS); } inst->inputname = (uchar*)es_str2cstr(pvals[i].val.d.estr, NULL); } else if(!strcmp(inppblk.descr[i].name, "name.appendport")) { if(bAppendPortUsed) { errmsg.LogError(0, RS_RET_INVALID_PARAMS, "imudp: name.appendport and " - "inputname.appendport paramter specified - only one can be used"); + "inputname.appendport parameter specified - only one can be used"); ABORT_FINALIZE(RS_RET_INVALID_PARAMS); } inst->bAppendPortToInpname = (int) pvals[i].val.d.n; diff --git a/plugins/pmciscoios/pmciscoios.c b/plugins/pmciscoios/pmciscoios.c index 12a7632837..aec22fd1db 100644 --- a/plugins/pmciscoios/pmciscoios.c +++ b/plugins/pmciscoios/pmciscoios.c @@ -76,7 +76,7 @@ CODESTARTisCompatibleWithFeature ENDisCompatibleWithFeature -/* create input instance, set default paramters, and +/* create input instance, set default parameters, and * add it to the list of instances. */ static rsRetVal diff --git a/runtime/cfsysline.c b/runtime/cfsysline.c index c8b25db1c3..68e898cd65 100644 --- a/runtime/cfsysline.c +++ b/runtime/cfsysline.c @@ -837,7 +837,7 @@ static rsRetVal cslcAddHdlr(cslCmd_t *pThis, ecslCmdHdrlType eType, rsRetVal (*p * Parameter permitted has been added to support the v2 config system. With it, * we can tell the legacy system (us here!) to check if a config directive is * still permitted. For example, the v2 system will disable module global - * paramters if the are supplied via the native v2 callbacks. In order not + * parameters if the are supplied via the native v2 callbacks. In order not * to break exisiting modules, we have renamed the rgCfSysLinHdlr routine to * version 2 and added a new one with the original name. It just calls the * v2 function and supplies a "don't care (NULL)" pointer as this argument. diff --git a/runtime/librsgt_read.c b/runtime/librsgt_read.c index bcb009986a..51c59aef72 100644 --- a/runtime/librsgt_read.c +++ b/runtime/librsgt_read.c @@ -674,7 +674,7 @@ rsgt_objfree(uint16_t tlvtype, void *obj) /** * Read block parameters. This detects if the block contains the * individual log hashes, the intermediate hashes and the overall - * block paramters (from the signature block). As we do not have any + * block parameters (from the signature block). As we do not have any * begin of block record, we do not know e.g. the hash algorithm or IV * until reading the block signature record. And because the file is * purely sequential and variable size, we need to read all records up to diff --git a/runtime/rsconf.h b/runtime/rsconf.h index 08a8f3e4f9..f64b704595 100644 --- a/runtime/rsconf.h +++ b/runtime/rsconf.h @@ -77,7 +77,7 @@ struct globals_s { int bReduceRepeatMsgs; /* reduce repeated message - 0 - no, 1 - yes */ //TODO: other representation for main queue? Or just load it differently? - queuecnf_t mainQ; /* main queue paramters */ + queuecnf_t mainQ; /* main queue parameters */ }; /* (global) defaults are global in the sense that they are accessible diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index 566f5d6592..10def6e0a4 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -541,7 +541,7 @@ extern int default_thr_sched_policy; * absolutely necessary - all output plugins need to be changed! * * If a change is "just" for internal working, consider adding a - * separate paramter outside of this structure. Of course, it is + * separate parameter outside of this structure. Of course, it is * best to avoid this as well ;-) * rgerhards, 2013-12-04 */