Switching to GPL 3.
[rsync/rsync.git] / syscall.c
index d23f2eb..58daad1 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -7,7 +7,7 @@
  * Copyright (C) 2003-2007 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
+ * it under the terms of the GNU General Public License version 3 as
  * published by the Free Software Foundation.
  *
  * This program is distributed in the hope that it will be useful,
@@ -16,8 +16,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ * with this program; if not, visit the http://fsf.org website.
  */
 
 #include "rsync.h"
@@ -112,7 +111,7 @@ int do_mknod(const char *pathname, mode_t mode, dev_t dev)
                        return -1;
                close(sock);
 #ifdef HAVE_CHMOD
-               return do_chmod(pathname, mode); /*DISCOURAGED FUNCTION*/
+               return do_chmod(pathname, mode);
 #else
                return 0;
 #endif