X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgethostname.c;h=9de54bce7cc40d63d475e7bc0c2fb1d289b62fa1;hb=5b9e0c3ce734b9d9b0c0001e31b65a8a4713700d;hp=35d82068583cb8cb4b096e123477d5d19b265d3c;hpb=7525ec925e94b992c31824d266fee528cebc1d16;p=gnulib.git diff --git a/lib/gethostname.c b/lib/gethostname.c index 35d820685..9de54bce7 100644 --- a/lib/gethostname.c +++ b/lib/gethostname.c @@ -1,6 +1,6 @@ /* gethostname emulation for SysV and POSIX.1. - Copyright (C) 1992, 2003, 2006, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 1992, 2003, 2006, 2008-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,7 +54,7 @@ gethostname (char *name, size_t len) } strncpy (name, uts.nodename, len); #else - strcpy (name, ""); /* Hardcode your system name if you want. */ + strcpy (name, ""); /* Hardcode your system name if you want. */ #endif return 0; }