fix pasto

This commit is contained in:
pooka 2008-01-02 18:11:01 +00:00
parent b181a1a237
commit cf16702d95
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: puffs.c,v 1.83 2008/01/02 17:57:51 pooka Exp $ */
/* $NetBSD: puffs.c,v 1.84 2008/01/02 18:11:01 pooka Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved.
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: puffs.c,v 1.83 2008/01/02 17:57:51 pooka Exp $");
__RCSID("$NetBSD: puffs.c,v 1.84 2008/01/02 18:11:01 pooka Exp $");
#endif /* !lint */
#include <sys/param.h>
@ -511,7 +511,7 @@ do { \
} while (/*CONSTCOND*/0)
allwrite(&len, sizeof(len));
allwrite(dir, len);
len = strlen(dir)+1;
len = strlen(pu->pu_kargp->pa_mntfromname)+1;
allwrite(&len, sizeof(len));
allwrite(pu->pu_kargp->pa_mntfromname, len);
allwrite(&mntflags, sizeof(mntflags));