summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-06-08 18:07:45 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-06-08 18:07:45 +0000
commit5bea34cea9da023e06763ac1f2129d3562db7229 (patch)
tree8142c37095f13336809d7736e9518e50606eac79 /usr.bin
parentb00a40ea34597b9cea889e6267a799d7143d1e94 (diff)
check for file_rcs being NULL
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/status.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c
index 80a0761105c..7e1b86f294f 100644
--- a/usr.bin/cvs/status.c
+++ b/usr.bin/cvs/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.85 2008/06/08 16:20:49 joris Exp $ */
+/* $OpenBSD: status.c,v 1.86 2008/06/08 18:07:44 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005-2008 Xavier Santolaria <xsa@openbsd.org>
@@ -230,8 +230,7 @@ cvs_status_local(struct cvs_file *cf)
cvs_printf(" Sticky Options:\t(none)\n");
}
- if (cf->file_status == FILE_UPTODATE &&
- cf->file_status != FILE_MODIFIED && show_sym == 1) {
+ if (cf->file_rcs != NULL && show_sym == 1) {
cvs_printf("\n");
cvs_printf(" Existing Tags:\n");