summaryrefslogtreecommitdiffstats
path: root/contrib/opie/opiekey.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/opie/opiekey.c')
-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 6988349..17a0f46 100644
--- a/contrib/opie/opiekey.c
+++ b/contrib/opie/opiekey.c
@@ -144,7 +144,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