summaryrefslogtreecommitdiff
path: root/source3/utils/smbget.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/smbget.c')
-rw-r--r--source3/utils/smbget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 3ced8df9e3c..e332b2d99b4 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -707,7 +707,7 @@ static int readrcfile(const char *name, const struct poptOption long_options[])
found = false;
- for (i = 0; long_options[i].shortName; i++) {
+ for (i = 0; long_options[i].argInfo; i++) {
if (!long_options[i].longName) {
continue;
}