summaryrefslogtreecommitdiff
path: root/source4/param/util.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-11-11 14:04:54 -0500
committerJeff Layton <jlayton@redhat.com>2009-11-11 14:04:54 -0500
commitb11e11a9737a6490f27f9ea5c15b39203fbcbe7a (patch)
tree9e715e39cd8e861279f6dcf005420b23b5bcbd99 /source4/param/util.c
parentf3646ff392ab736ed82d2982490aa9d57e11ec6b (diff)
downloadsamba-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/param/util.c')
0 files changed, 0 insertions, 0 deletions