summaryrefslogtreecommitdiff
path: root/lisp/vc-sccs.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc-sccs.el')
-rw-r--r--lisp/vc-sccs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el
index c4047d1b3ec..ef2c8b34ff1 100644
--- a/lisp/vc-sccs.el
+++ b/lisp/vc-sccs.el
@@ -108,7 +108,7 @@ For a description of possible values, see `vc-check-master-templates'."
(if (vc-workfile-unchanged-p file)
'up-to-date
'unlocked-changes)
- (if (string= locking-user (vc-user-login-name))
+ (if (string= locking-user (vc-user-login-name file))
'edited
locking-user)))
'up-to-date)))