summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-20 12:00:28 +0100
committerAndrew Tridgell <tridge@samba.org>2009-12-03 21:46:31 +1100
commitfed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f (patch)
treeb42a59e47dc9f33b3dd2e2c7d4b7cd5fdf9f69c0 /source4/ntvfs/posix
parent1a855eb741c356262382f04357abdabe0bd2ad1b (diff)
downloadsamba-fed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f.tar.gz
samba-fed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f.tar.bz2
samba-fed6ac05d00ab9bc2d7f55fe377cd1fde829cf7f.zip
s4:ntvfs/posix/pvfs_streams - Fix "discard const" warning
I removed one "const" in front of a string declaration to achieve this. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index 508dbb02dc..7341d0d9ca 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -126,7 +126,7 @@ struct pvfs_dos_fileinfo {
struct pvfs_filename {
char *original_name;
char *full_name;
- const char *stream_name; /* does not include :$DATA suffix */
+ char *stream_name; /* does not include :$DATA suffix */
uint32_t stream_id; /* this uses a hash, so is probabilistic */
bool has_wildcard;
bool exists; /* true if the base filename exists */