git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d89427a
)
Fix const warning.
author
Jeremy Allison
<jra@samba.org>
Fri, 29 Jan 2010 22:36:36 +0000
(14:36 -0800)
committer
Jeremy Allison
<jra@samba.org>
Fri, 29 Jan 2010 22:36:36 +0000
(14:36 -0800)
Jeremy
client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/client/mount.cifs.c
b/client/mount.cifs.c
index 9044184ed21ee97bc236a1b5cfe7eebc873e40eb..d307f4f012037c0e02cdf77bac51e120253bc5fc 100644
(file)
--- a/
client/mount.cifs.c
+++ b/
client/mount.cifs.c
@@
-1207,7
+1207,7
@@
static void print_cifs_mount_version(void)
*/
static int check_newline(const char *progname, const char *name)
{
- char *s;
+ c
onst c
har *s;
for (s = "\n"; *s; s++) {
if (strchr(name, *s)) {
fprintf(stderr, "%s: illegal character 0x%02x in mount entry\n",