summaryrefslogtreecommitdiff
path: root/testsuite/build_farm/torture-ATTR.test
diff options
context:
space:
mode:
authorSteve French <stevef@smf-t60p.smfdom>2008-07-23 14:25:17 -0500
committerSteve French <stevef@smf-t60p.smfdom>2008-07-23 14:25:17 -0500
commit224f9b839bb5e776ead7d93e8e17b48846f5caf5 (patch)
treed58114a49a5ab6a506a7b8ccc272f11ea6ec2fb4 /testsuite/build_farm/torture-ATTR.test
parent7014c97aab8d252fce6c0e6a9be06e5181ec8f0e (diff)
downloadsamba-224f9b839bb5e776ead7d93e8e17b48846f5caf5.tar.gz
samba-224f9b839bb5e776ead7d93e8e17b48846f5caf5.tar.bz2
samba-224f9b839bb5e776ead7d93e8e17b48846f5caf5.zip
cifs.upcall: fix compile warning
Steve French noticed these warnings when building cifs.upcall: Compiling client/cifs.upcall.c client/cifs.upcall.c: In function 'usage': client/cifs.upcall.c:204: warning: declaration of 'prog' shadows a global declaration client/cifs.upcall.c:33: warning: shadowed declaration is here Change the usage function to not take and arg and have it just use the global "prog" variable. Fix a typo in the log message generated when an unknown option is specified. Also getopt() always returns '?' when it sees an unknown option so there's no point in printing it out. Signed-off-by: Jeff Layton <jlayton@redhat.com> (This used to be commit 4b8362f9777debd21c47154e786b7017fbf847f7)
Diffstat (limited to 'testsuite/build_farm/torture-ATTR.test')
0 files changed, 0 insertions, 0 deletions