diff options
author | phk <phk@FreeBSD.org> | 1995-11-14 09:37:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-11-14 09:37:22 +0000 |
commit | ec15d167b93830b4bbc352d10aa778c20986468e (patch) | |
tree | baf588d1cc4f95738bc92854ac129ba09d3452d8 /sys/fs | |
parent | 0cd6c033b7795c4f23ddfec5d351659d209e45a1 (diff) | |
download | FreeBSD-src-ec15d167b93830b4bbc352d10aa778c20986468e.zip FreeBSD-src-ec15d167b93830b4bbc352d10aa778c20986468e.tar.gz |
Get rid of hostnamelen variable.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_rrip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/cd9660/cd9660_rrip.c b/sys/fs/cd9660/cd9660_rrip.c index dca8983..279b8b2 100644 --- a/sys/fs/cd9660/cd9660_rrip.c +++ b/sys/fs/cd9660/cd9660_rrip.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)cd9660_rrip.c 8.2 (Berkeley) 1/23/94 - * $Id: cd9660_rrip.c,v 1.6 1995/01/16 17:03:26 joerg Exp $ + * $Id: cd9660_rrip.c,v 1.7 1995/05/30 08:05:00 rgrimes Exp $ */ #include <sys/param.h> @@ -152,7 +152,7 @@ cd9660_rrip_slink(p,ana) case ISO_SUSP_CFLAG_HOST: /* Inserting hostname i.e. "kurt.tools.de" */ inbuf = hostname; - wlen = hostnamelen; + wlen = strlen(hostname); break; case ISO_SUSP_CFLAG_CONTINUE: @@ -224,7 +224,7 @@ cd9660_rrip_altname(p,ana) case ISO_SUSP_CFLAG_HOST: /* Inserting hostname i.e. "kurt.tools.de" */ inbuf = hostname; - wlen = hostnamelen; + wlen = strlen(hostname); break; case ISO_SUSP_CFLAG_CONTINUE: |