summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2011-09-30 20:49:57 +0000
committerroot <root>2011-09-30 20:49:57 +0000
commit0712dd07ed01f72da017b7231408b8833a544ed1 (patch)
tree8b70ae69effa3fa6fc6f1523473439308887948d /eio.c
parent97ef1174222ff11500a22e39e5443da80f5f0de9 (diff)
*** empty log message ***origin
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eio.c b/eio.c
index 3b332fc..b51a943 100644
--- a/eio.c
+++ b/eio.c
@@ -2147,7 +2147,7 @@ etp_proc_init (void)
prctl (PR_GET_NAME, (unsigned long)name, 0, 0, 0);
name [namelen] = 0;
len = strlen (name);
- strcpy (name + (len < namelen - 4 ? len : namelen - 4), "/eio");
+ strcpy (name + (len <= namelen - 4 ? len : namelen - 4), "/eio");
prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0);
}
#endif