summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2008-06-17 09:44:21 +0200
committerKarolin Seeger <kseeger@samba.org>2008-06-17 09:46:17 +0200
commit98ed31a107ee6c02d12253d175834359deaa2a64 (patch)
tree8572f4cfeb6cefa245b1c2dd55f738a54159bbcd
parent13eab02679a012b332beed28b0a4fc05cb9fd258 (diff)
downloadsamba-98ed31a107ee6c02d12253d175834359deaa2a64.tar.gz
samba-98ed31a107ee6c02d12253d175834359deaa2a64.tar.bz2
samba-98ed31a107ee6c02d12253d175834359deaa2a64.zip
Fix typo.
arguements -> arguments Karolin (This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
-rw-r--r--source3/rpcclient/cmd_spoolss.c24
-rw-r--r--source3/winbindd/idmap.c2
2 files changed, 13 insertions, 13 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 5368a0ff4e..fc4e0eb042 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -1310,7 +1310,7 @@ static WERROR cmd_spoolss_addprinterdriver(struct rpc_pipe_client *cli,
fstring driver_name;
char *driver_args;
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc != 3 && argc != 4)
{
printf ("Usage: %s <Environment> \\\n", argv[0]);
@@ -1375,7 +1375,7 @@ static WERROR cmd_spoolss_addprinterex(struct rpc_pipe_client *cli,
PRINTER_INFO_2 info2;
fstring servername;
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc != 5)
{
printf ("Usage: %s <name> <shared name> <driver> <port>\n", argv[0]);
@@ -1437,7 +1437,7 @@ static WERROR cmd_spoolss_setdriver(struct rpc_pipe_client *cli,
printername,
user;
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc != 3)
{
printf ("Usage: %s <printer> <driver>\n", argv[0]);
@@ -1509,7 +1509,7 @@ static WERROR cmd_spoolss_deletedriverex(struct rpc_pipe_client *cli,
const char *arch = NULL;
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc < 2 || argc > 4) {
printf ("Usage: %s <driver> [arch] [version]\n", argv[0]);
return WERR_OK;
@@ -1564,7 +1564,7 @@ static WERROR cmd_spoolss_deletedriver(struct rpc_pipe_client *cli,
fstring servername;
int i;
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc != 2) {
printf ("Usage: %s <driver>\n", argv[0]);
return WERR_OK;
@@ -1605,7 +1605,7 @@ static WERROR cmd_spoolss_getprintprocdir(struct rpc_pipe_client *cli,
char *servername = NULL, *environment = NULL;
fstring procdir;
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc > 2) {
printf ("Usage: %s [environment]\n", argv[0]);
return WERR_OK;
@@ -1645,7 +1645,7 @@ static WERROR cmd_spoolss_addform(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
FORM form;
bool got_handle = False;
- /* Parse the command arguements */
+ /* Parse the command arguments */
if (argc != 3) {
printf ("Usage: %s <printer> <formname>\n", argv[0]);
@@ -1706,7 +1706,7 @@ static WERROR cmd_spoolss_setform(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
FORM form;
bool got_handle = False;
- /* Parse the command arguements */
+ /* Parse the command arguments */
if (argc != 3) {
printf ("Usage: %s <printer> <formname>\n", argv[0]);
@@ -1803,7 +1803,7 @@ static WERROR cmd_spoolss_getform(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
FORM_1 form;
bool got_handle = False;
- /* Parse the command arguements */
+ /* Parse the command arguments */
if (argc != 3) {
printf ("Usage: %s <printer> <formname>\n", argv[0]);
@@ -1856,7 +1856,7 @@ static WERROR cmd_spoolss_deleteform(struct rpc_pipe_client *cli,
char *servername = NULL, *printername = NULL;
bool got_handle = False;
- /* Parse the command arguements */
+ /* Parse the command arguments */
if (argc != 3) {
printf ("Usage: %s <printer> <formname>\n", argv[0]);
@@ -1906,7 +1906,7 @@ static WERROR cmd_spoolss_enum_forms(struct rpc_pipe_client *cli,
uint32 num_forms, level = 1, i;
FORM_1 *forms;
- /* Parse the command arguements */
+ /* Parse the command arguments */
if (argc != 2) {
printf ("Usage: %s <printer>\n", argv[0]);
@@ -1969,7 +1969,7 @@ static WERROR cmd_spoolss_setprinterdata(struct rpc_pipe_client *cli,
REGISTRY_VALUE value;
TALLOC_CTX *tmp_ctx = talloc_stackframe();
- /* parse the command arguements */
+ /* parse the command arguments */
if (argc < 5) {
printf ("Usage: %s <printer> <string|binary|dword|multistring>"
" <value> <data>\n",
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 10807e6640..d710dd2ce3 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -345,7 +345,7 @@ NTSTATUS idmap_init(void)
goto done;
}
- /* separate the backend and module arguements */
+ /* separate the backend and module arguments */
if ((p = strchr(compat_backend, ':')) != NULL) {
*p = '\0';
compat_params = p + 1;