summaryrefslogtreecommitdiffstats
path: root/contrib/opie
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/opie')
-rw-r--r--contrib/opie/opiekey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/opie/opiekey.c b/contrib/opie/opiekey.c
index a260d96..a6c7aab 100644
--- a/contrib/opie/opiekey.c
+++ b/contrib/opie/opiekey.c
@@ -145,7 +145,7 @@ int main FUNCTION((argc, argv), int argc AND char *argv[])
int type = RESPONSE_STANDARD;
int force = 0;
- if (slash = strchr(argv[0], '/'))
+ if (slash = strrchr(argv[0], '/'))
slash++;
else
slash = argv[0];
OpenPOWER on IntegriCloud