git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8468e58
)
Revert "cifs mount did not properly display version string when no other parameters...
author
Jeff Layton
<jlayton@redhat.com>
Thu, 8 Oct 2009 14:42:37 +0000
(10:42 -0400)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 12 Oct 2009 09:47:26 +0000
(11:47 +0200)
This reverts commit
c7bf0f4c222ae46be2a751997e03197832b494cd
.
Part 1/2 of a fix for bug #6692.
(cherry picked from commit
2cda51b4e6fba53c04f87e4c2dd99a952a63d812
)
source/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source/client/mount.cifs.c
b/source/client/mount.cifs.c
index c78aee03a0ea76b5067a98d260264c2a24d29d46..bb40a8cfc3a5c451ecfad758e09fb0864fc900f9 100644
(file)
--- a/
source/client/mount.cifs.c
+++ b/
source/client/mount.cifs.c
@@
-1098,14
+1098,6
@@
int main(int argc, char ** argv)
}
mountpoint = argv[2];
} else {
- if ((strcmp (argv[1], "--version") == 0) ||
- ((strcmp (argv[1], "-V") == 0))) {
- printf ("mount.cifs version: %s.%s%s\n",
- MOUNT_CIFS_VERSION_MAJOR,
- MOUNT_CIFS_VERSION_MINOR,
- MOUNT_CIFS_VENDOR_SUFFIX);
- exit (0);
- }
mount_cifs_usage();
exit(EX_USAGE);
}