summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/linux/linux_file.c')
-rw-r--r--sys/i386/linux/linux_file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_file.c b/sys/i386/linux/linux_file.c
index 2dfad3f..13e7520 100644
--- a/sys/i386/linux/linux_file.c
+++ b/sys/i386/linux/linux_file.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_file.c,v 1.16 1997/12/05 19:55:37 bde Exp $
+ * $Id: linux_file.c,v 1.17 1997/12/16 18:49:23 eivind Exp $
*/
#include "opt_compat.h"
@@ -799,6 +799,7 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args)
p->p_pid, args->path);
#endif
bsd.path = args->path;
+ bsd.length = args->length;
return otruncate(p, &bsd);
}
OpenPOWER on IntegriCloud