=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rusers/rusers.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- src/usr.bin/rusers/rusers.c 1996/08/16 22:24:18 1.4 +++ src/usr.bin/rusers/rusers.c 1997/01/17 07:13:15 1.5 @@ -1,4 +1,4 @@ -/* $OpenBSD: rusers.c,v 1.4 1996/08/16 22:24:18 deraadt Exp $ */ +/* $OpenBSD: rusers.c,v 1.5 1997/01/17 07:13:15 millert Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rusers.c,v 1.4 1996/08/16 22:24:18 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rusers.c,v 1.5 1997/01/17 07:13:15 millert Exp $"; #endif /* not lint */ #include @@ -237,7 +237,7 @@ int ch; extern int optind; - if (!(argv0 = rindex(argv[0], '/'))) + if (!(argv0 = strrchr(argv[0], '/'))) argv0 = argv[0]; else argv0++;