diff --git a/[refs] b/[refs] index e2245784e9ae..03c42e4fd0e0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 62411ab2fe5f002dff27417630ddf02cc40ca404 +refs/heads/master: ea1be1a3c3c4b2bbc32aeb7995e18336c8060e0e diff --git a/trunk/fs/cifs/connect.c b/trunk/fs/cifs/connect.c index dbd669cc5bc7..ccc1afa0bf3b 100644 --- a/trunk/fs/cifs/connect.c +++ b/trunk/fs/cifs/connect.c @@ -3485,7 +3485,7 @@ cifs_construct_tcon(struct cifs_sb_info *cifs_sb, uid_t fsuid) goto out; } - snprintf(username, MAX_USERNAME_SIZE, "krb50x%x", fsuid); + snprintf(username, sizeof(username), "krb50x%x", fsuid); vol_info->username = username; vol_info->local_nls = cifs_sb->local_nls; vol_info->linux_uid = fsuid;