=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdistd/filesys-os.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/rdistd/filesys-os.c 1998/06/26 21:20:47 1.5 +++ src/usr.bin/rdistd/filesys-os.c 1999/02/04 23:18:57 1.6 @@ -1,4 +1,4 @@ -/* $OpenBSD: filesys-os.c,v 1.5 1998/06/26 21:20:47 millert Exp $ */ +/* $OpenBSD: filesys-os.c,v 1.6 1999/02/04 23:18:57 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -39,7 +39,7 @@ "$From: filesys-os.c,v 6.17 1996/01/17 21:02:45 mcooper Exp mcooper $"; #else static char RCSid[] = -"$OpenBSD: filesys-os.c,v 1.5 1998/06/26 21:20:47 millert Exp $"; +"$OpenBSD: filesys-os.c,v 1.6 1999/02/04 23:18:57 millert Exp $"; #endif static char sccsid[] = "@(#)filesys-os.c"; @@ -402,8 +402,8 @@ return(NULL); new = (mntent_t *) xcalloc(1, sizeof(mntent_t)); - new->me_path = strdup(old->me_path); - new->me_type = strdup(old->me_type); + new->me_path = xstrdup(old->me_path); + new->me_type = xstrdup(old->me_type); new->me_flags = old->me_flags; return(new);