Module Name: src Committed By: njoly Date: Mon Dec 13 19:17:21 UTC 2010
Modified Files: src/sbin/ifconfig: prog_ops.h Log Message: op_read return value is a ssize_t, not an int. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sbin/ifconfig/prog_ops.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/ifconfig/prog_ops.h diff -u src/sbin/ifconfig/prog_ops.h:1.1 src/sbin/ifconfig/prog_ops.h:1.2 --- src/sbin/ifconfig/prog_ops.h:1.1 Mon Dec 13 17:35:08 2010 +++ src/sbin/ifconfig/prog_ops.h Mon Dec 13 19:17:20 2010 @@ -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); };