diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-11-11 14:04:54 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2009-11-11 14:04:54 -0500 |
commit | b11e11a9737a6490f27f9ea5c15b39203fbcbe7a (patch) | |
tree | 9e715e39cd8e861279f6dcf005420b23b5bcbd99 /source4 | |
parent | f3646ff392ab736ed82d2982490aa9d57e11ec6b (diff) | |
download | samba-b11e11a9737a6490f27f9ea5c15b39203fbcbe7a.tar.gz samba-b11e11a9737a6490f27f9ea5c15b39203fbcbe7a.tar.bz2 samba-b11e11a9737a6490f27f9ea5c15b39203fbcbe7a.zip |
mount.cifs: get rid of CONST_DISCARD
Apparently, we need to strip the "const" attribute off of the mnt_fstype
before passing it to addmntent to prevent a (somewhat bogus) compiler
warning.
Rather than just stripping off the "const" attribute, clarify the code
by declaring a new non-const char pointer that points to the same
string. We can also use that same pointer in the mount(2) call too.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Diffstat (limited to 'source4')
0 files changed, 0 insertions, 0 deletions