From 5dd9a8b785195dc3609962b9c189d6d0ff3f342c Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Sun, 2 Mar 2003 17:38:33 +0000 Subject: [PATCH] Since some systems show internal thread IDs in base 10, allow entry of numeric thread IDs in any base. --- src/iocsh/iocUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iocsh/iocUtil.c b/src/iocsh/iocUtil.c index 1c6150b41..743b9ed76 100644 --- a/src/iocsh/iocUtil.c +++ b/src/iocsh/iocUtil.c @@ -82,7 +82,7 @@ static void showCallFunc(const iocshArgBuf *args) } for ( ; i < argc ; i++) { cp = argv[i]; - ltmp = strtoul (cp, &endp, 16); + ltmp = strtoul (cp, &endp, 0); if (*endp) { tid = epicsThreadGetId (cp); if (!tid) {