diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-11-14 09:37:22 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-11-14 09:37:22 +0000 |
commit | 9565c0e60d32b764b30a0da8f2731c3e9487e65f (patch) | |
tree | baf588d1cc4f95738bc92854ac129ba09d3452d8 /sys/fs | |
parent | a9ad941c7af2ef2d8b68cc9871f10fa02f877e01 (diff) | |
download | src-9565c0e60d32b764b30a0da8f2731c3e9487e65f.tar.gz src-9565c0e60d32b764b30a0da8f2731c3e9487e65f.zip |
Get rid of hostnamelen variable.
Notes
Notes:
svn path=/head/; revision=12287
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 dca898301697..279b8b28fe4b 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: |