To work around lint problems, add a LINTED comment on pooka's request.

This commit is contained in:
he 2007-10-21 16:29:40 +00:00
parent 028d83d78b
commit 71a133879f
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: requests.c,v 1.11 2007/10/19 14:38:45 pooka Exp $ */
/* $NetBSD: requests.c,v 1.12 2007/10/21 16:29:40 he Exp $ */
/*
* Copyright (c) 2006 Antti Kantee. All Rights Reserved.
@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
__RCSID("$NetBSD: requests.c,v 1.11 2007/10/19 14:38:45 pooka Exp $");
__RCSID("$NetBSD: requests.c,v 1.12 2007/10/21 16:29:40 he Exp $");
#endif /* !lint */
#include <sys/types.h>
@ -148,6 +148,7 @@ puffs_req_put(struct puffs_putreq *ppr, struct puffs_req *preq)
{
ssize_t n;
/* LINTED conversion is benign, says author; may revisit */
preq->preq_frhdr.pfr_len = preq->preq_buflen;
n = write(ppr->ppr_pu->pu_fd, preq, preq->preq_frhdr.pfr_len);
assert(n == preq->preq_frhdr.pfr_len);