Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/ifconfig op_read return value is a ssize_t, not an int.
details: https://anonhg.NetBSD.org/src/rev/7a17a259a3fb
branches: trunk
changeset: 759607:7a17a259a3fb
user: njoly <njoly%NetBSD.org@localhost>
date: Mon Dec 13 19:17:20 2010 +0000
description:
op_read return value is a ssize_t, not an int.
diffstat:
sbin/ifconfig/prog_ops.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 21e9b8431945 -r 7a17a259a3fb sbin/ifconfig/prog_ops.h
--- a/sbin/ifconfig/prog_ops.h Mon Dec 13 18:02:04 2010 +0000
+++ b/sbin/ifconfig/prog_ops.h Mon Dec 13 19:17:20 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: prog_ops.h,v 1.1 2010/12/13 17:35:08 pooka Exp $ */
+/* $NetBSD: prog_ops.h,v 1.2 2010/12/13 19:17:20 njoly Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
int (*op_socket)(int, int, int);
int (*op_ioctl)(int, unsigned long, ...);
- int (*op_read)(int, void *, size_t);
+ ssize_t (*op_read)(int, void *, size_t);
int (*op_close)(int);
};
Home |
Main Index |
Thread Index |
Old Index