Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern appease gcc
details: https://anonhg.NetBSD.org/src/rev/865d25ccad6c
branches: trunk
changeset: 445400:865d25ccad6c
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sat Oct 27 09:13:45 2018 +0000
description:
appease gcc
diffstat:
sys/kern/subr_tftproot.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r a9bede0592c0 -r 865d25ccad6c sys/kern/subr_tftproot.c
--- a/sys/kern/subr_tftproot.c Sat Oct 27 07:24:58 2018 +0000
+++ b/sys/kern/subr_tftproot.c Sat Oct 27 09:13:45 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_tftproot.c,v 1.21 2018/02/08 09:05:20 dholland Exp $ */
+/* $NetBSD: subr_tftproot.c,v 1.22 2018/10/27 09:13:45 mlelstv Exp $ */
/*-
* Copyright (c) 2007 Emmanuel Dreyfus, all rights reserved.
@@ -39,7 +39,7 @@
#include "opt_md.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_tftproot.c,v 1.21 2018/02/08 09:05:20 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_tftproot.c,v 1.22 2018/10/27 09:13:45 mlelstv Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -318,9 +318,10 @@
* file.
*/
if ((error = (*so->so_send)(so, mtod(m_serv, struct sockaddr *), NULL,
- m_outbuf, NULL, 0, l)) != 0)
+ m_outbuf, NULL, 0, l)) != 0) {
DPRINTF(("%s():%d tftproot: sosend returned %d\n",
__func__, __LINE__, error));
+ }
/* Freed by the protocol */
m_outbuf = NULL;
Home |
Main Index |
Thread Index |
Old Index