Commit 947a5067 authored by Steve French's avatar Steve French

[CIFS] Fix typo

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent b815f1e5
...@@ -495,7 +495,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses) ...@@ -495,7 +495,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
(int)(utc.tv_sec - ts.tv_sec))); (int)(utc.tv_sec - ts.tv_sec)));
val = (int)(utc.tv_sec - ts.tv_sec); val = (int)(utc.tv_sec - ts.tv_sec);
seconds = val < 0 ? -val : val; seconds = val < 0 ? -val : val;
result = (seconds / IN_TZ_ADJ) * MIN_TZ_ADJ; result = (seconds / MIN_TZ_ADJ) * MIN_TZ_ADJ;
remain = seconds % MIN_TZ_ADJ; remain = seconds % MIN_TZ_ADJ;
if(remain >= (MIN_TZ_ADJ / 2)) if(remain >= (MIN_TZ_ADJ / 2))
result += MIN_TZ_ADJ; result += MIN_TZ_ADJ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment