summaryrefslogtreecommitdiff
path: root/source3/utils/smbpasswd.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-01-07 14:17:49 +0000
committerGerald Carter <jerry@samba.org>2002-01-07 14:17:49 +0000
commitbff833e76af390557428ba6aabdbc635b2c120e9 (patch)
tree8933450a3ed0b98468b8ba0b959edaed08df4206 /source3/utils/smbpasswd.c
parent6c14b8c387cb66188c710d2b53cf1e4ccd159be5 (diff)
downloadsamba-bff833e76af390557428ba6aabdbc635b2c120e9.tar.gz
samba-bff833e76af390557428ba6aabdbc635b2c120e9.tar.bz2
samba-bff833e76af390557428ba6aabdbc635b2c120e9.zip
sync getopt() args with 2.2
(This used to be commit 2fcdc520cee051631bbc2a0c06466d231390f8d5)
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index 3ee94661ab..ca1fe377d0 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -214,7 +214,7 @@ static int process_root(int argc, char *argv[])
user_name[0] = '\0';
- while ((ch = getopt(argc, argv, "axdehmnijr:swR:D:U:L")) != EOF) {
+ while ((ch = getopt(argc, argv, "axdehmnijr:sw:R:D:U:L")) != EOF) {
switch(ch) {
case 'L':
local_mode = True;