=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/ci.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/usr.bin/rcs/ci.c 2005/10/10 15:05:48 1.18 +++ src/usr.bin/rcs/ci.c 2005/10/10 17:12:49 1.19 @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.18 2005/10/10 15:05:48 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.19 2005/10/10 17:12:49 xsa Exp $ */ /* * Copyright (c) 2005 Niall O'Higgins * All rights reserved. @@ -86,7 +86,7 @@ interactive = 1; if ((username = getlogin()) == NULL) { - cvs_log(LP_ERR, "failed to get username"); + cvs_log(LP_ERRNO, "failed to get username"); exit(1); }