diff options
author | 2013-06-14 10:16:06 +0100 | |
---|---|---|
committer | 2013-06-14 10:16:06 +0100 | |
commit | 384b8345589cbbb18a99ce1b112da90c58c802e8 (patch) | |
tree | 51fee39fa19adad6b24fb90123e7a0ca3159c9c5 /fs/cifs/connect.c | |
parent | ASoC: wm8962: Restore device state after reset in runtime resume (diff) | |
parent | ASoC: wm8962: Remove remaining direct register cache accesses (diff) | |
download | wireguard-linux-384b8345589cbbb18a99ce1b112da90c58c802e8.tar.xz wireguard-linux-384b8345589cbbb18a99ce1b112da90c58c802e8.zip |
Merge branch 'fix/wm8962' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-wm8962
Conflicts:
sound/soc/codecs/wm8962.c
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 5b97e56ddbca..e3bc39bb9d12 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c @@ -3279,8 +3279,8 @@ build_unc_path_to_root(const struct smb_vol *vol, pos = full_path + unc_len; if (pplen) { - *pos++ = CIFS_DIR_SEP(cifs_sb); - strncpy(pos, vol->prepath, pplen); + *pos = CIFS_DIR_SEP(cifs_sb); + strncpy(pos + 1, vol->prepath, pplen); pos += pplen; } |