openbsd-ports/databases/mysql/patches/patch-sql_mysqld_cc
2006-10-14 05:04:54 +00:00

13 lines
427 B
Plaintext

$OpenBSD: patch-sql_mysqld_cc,v 1.6 2006/10/14 05:04:54 brad Exp $
--- sql/mysqld.cc.orig Wed Oct 4 07:24:09 2006
+++ sql/mysqld.cc Thu Oct 12 05:18:57 2006
@@ -3377,7 +3377,7 @@ int main(int argc, char **argv)
init_ssl();
#ifdef HAVE_LIBWRAP
- libwrapName= my_progname+dirname_length(my_progname);
+ libwrapName= (char *) my_progname+dirname_length(my_progname);
openlog(libwrapName, LOG_PID, LOG_AUTH);
#endif