diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-01-31 18:02:13 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-01-31 18:02:13 +0000 |
commit | 065a73a310227cd21e2a1d1a87edb00ee4efcd82 (patch) | |
tree | ea42057b77ddd46c8a23c841fa44594a0fb113ab /xfuncs.c | |
parent | For bug #249731, add an xstrndup wrapper, and implement strndup on hosts that... (diff) | |
download | pax-utils-065a73a310227cd21e2a1d1a87edb00ee4efcd82.tar.gz pax-utils-065a73a310227cd21e2a1d1a87edb00ee4efcd82.tar.bz2 pax-utils-065a73a310227cd21e2a1d1a87edb00ee4efcd82.zip |
c&p error
Diffstat (limited to 'xfuncs.c')
-rw-r--r-- | xfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2003-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/xfuncs.c,v 1.4 2009/01/31 17:58:37 grobian Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/xfuncs.c,v 1.5 2009/01/31 18:02:13 grobian Exp $ * * Copyright 2003-2007 Ned Ludd - <solar@gentoo.org> * Copyright 2004-2007 Mike Frysinger - <vapier@gentoo.org> @@ -38,7 +38,7 @@ static inline char *my_strndup(const char *str, size_t n) char *xstrndup(const char *s, const size_t n) { char *ret = strndup(s, n); - if (!ret) err("Could not strdup(): %s", strerror(errno)); + if (!ret) err("Could not strndup(): %s", strerror(errno)); return ret; } |