aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-10-02 05:55:25 +0000
committerSteve French <sfrench@us.ibm.com>2006-10-02 05:55:25 +0000
commit947a50679570ef7a66e3e3107e95943a1cb14d08 (patch)
tree678b4b02e0b29ad4441099256497081bd2f6c889 /fs
parentb815f1e559e7cbdf3e561cf0c7cffc4a4a57a013 (diff)
[CIFS] Fix typo
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifssmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 8d30a5c4f24..005fb315477 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -495,7 +495,7 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
(int)(utc.tv_sec - ts.tv_sec)));
val = (int)(utc.tv_sec - ts.tv_sec);
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;
if(remain >= (MIN_TZ_ADJ / 2))
result += MIN_TZ_ADJ;