Index: opieftpd.c =================================================================== RCS file: /home/ncvs/src/contrib/opie/opieftpd.c,v retrieving revision 1.3 diff -u -r1.3 opieftpd.c --- opieftpd.c 2000/04/10 11:18:47 1.3 +++ opieftpd.c 2000/07/10 07:23:02 @@ -633,7 +633,7 @@ #if DOTITLE snprintf(proctitle, sizeof(proctitle), "%s: anonymous/%s", remotehost, passwd); - setproctitle(proctitle); + setproctitle("%s", proctitle); #endif /* DOTITLE */ syslog(LOG_NOTICE, "ANONYMOUS FTP login from %s with ID %s", remotehost, passwd); @@ -644,7 +644,7 @@ #if DOTITLE snprintf(proctitle, sizeof(proctitle), "%s: %s", remotehost, pw->pw_name); - setproctitle(proctitle); + setproctitle("%s", proctitle); #endif /* DOTITLE */ syslog(LOG_INFO, "FTP login from %s with user name %s", remotehost, pw->pw_name); } @@ -1262,7 +1262,7 @@ remotehost[sizeof(remotehost) - 1] = '\0'; #if DOTITLE snprintf(proctitle, sizeof(proctitle), "%s: connected", remotehost); - setproctitle(proctitle); + setproctitle("%s", proctitle); #endif /* DOTITLE */ t = time((time_t *) 0);