From 0e44878b748917787fa4415eeee930e847f5cbbb Mon Sep 17 00:00:00 2001 From: hollings Date: Mon, 13 Dec 1993 19:47:52 +0000 Subject: [PATCH] corrected rindex parameter error --- rtinst/src/RTsparc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rtinst/src/RTsparc.c b/rtinst/src/RTsparc.c index 45b2c03..e86c1ca 100644 --- a/rtinst/src/RTsparc.c +++ b/rtinst/src/RTsparc.c @@ -4,7 +4,10 @@ * functions for a normal Sparc with SUNOS. * * $Log: RTsparc.c,v $ - * Revision 1.1 1993/08/26 19:43:28 hollings + * Revision 1.2 1993/12/13 19:47:52 hollings + * corrected rindex parameter error + * + * Revision 1.1 1993/08/26 19:43:28 hollings * Initial revision * * Revision 1.1 1993/07/02 21:49:35 hollings @@ -51,7 +54,7 @@ caddr_t DYNINSTprobeUarea() if (!u) return(0); kvm_getcmd(kd, p, u, &args, NULL); - if (cmd = (char *) rindex(args[0], "/")) { + if (cmd = (char *) rindex(args[0], '/')) { cmd++; } else { cmd = args[0]; -- 1.8.3.1