Sytaxfehler un den ueblichen Sch***

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@816 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-08-24 07:45:35 +00:00
parent 905fbf3e06
commit a3d6c878ae
4 changed files with 4 additions and 5 deletions

View File

@@ -123,7 +123,7 @@ int main(void)
exit(ERR_CONFIG);
}
close(config_fd);
if (rename("/etc/syslog.conf.new /etc/syslog.conf") == -1)
if (rename("/etc/syslog.conf.new", "/etc/syslog.conf") == -1)
{
perror("Unable to replace old config file");
unlink("/etc/syslog.conf.new");