]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Add prefix to copyright constant.
authorRoy Marples <roy@marples.name>
Fri, 24 Jan 2014 11:00:38 +0000 (11:00 +0000)
committerRoy Marples <roy@marples.name>
Fri, 24 Jan 2014 11:00:38 +0000 (11:00 +0000)
Thanks to Sebastian Huber.

dhcpcd.c

index d67873d659569e6e4fa363a2dccb1ceab56a5fc2..57687159f4fc055944ae1974ef6d8943c7db6e8d 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -25,7 +25,7 @@
  * SUCH DAMAGE.
  */
 
-const char copyright[] = "Copyright (c) 2006-2014 Roy Marples";
+const char dhcpcd_copyright[] = "Copyright (c) 2006-2014 Roy Marples";
 
 #include <sys/file.h>
 #include <sys/socket.h>
@@ -1109,7 +1109,7 @@ main(int argc, char **argv)
                        usage();
                        exit(EXIT_SUCCESS);
                } else if (strcmp(argv[1], "--version") == 0) {
-                       printf(""PACKAGE" "VERSION"\n%s\n", copyright);
+                       printf(""PACKAGE" "VERSION"\n%s\n", dhcpcd_copyright);
                        exit(EXIT_SUCCESS);
                }
        }