Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/cgdconfig fix LP64 builds. yay, C type system.



details:   https://anonhg.NetBSD.org/src/rev/bb314664187f
branches:  trunk
changeset: 747312:bb314664187f
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Sep 10 09:10:29 2009 +0000

description:
fix LP64 builds.  yay, C type system.

patch from Joachim Kuebart

diffstat:

 sbin/cgdconfig/cgd_kernelops.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e010c38da0c9 -r bb314664187f sbin/cgdconfig/cgd_kernelops.h
--- a/sbin/cgdconfig/cgd_kernelops.h    Wed Sep 09 22:41:28 2009 +0000
+++ b/sbin/cgdconfig/cgd_kernelops.h    Thu Sep 10 09:10:29 2009 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: cgd_kernelops.h,v 1.1 2009/09/08 21:36:35 pooka Exp $ */
+/*      $NetBSD: cgd_kernelops.h,v 1.2 2009/09/10 09:10:29 pooka Exp $ */
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
        int (*ko_open)(const char *, int, mode_t);
        int (*ko_ioctl)(int, unsigned long, void *);
        int (*ko_close)(int);
-       int (*ko_pread)(int, void *, size_t, off_t);
+       ssize_t (*ko_pread)(int, void *, size_t, off_t);
 };
 extern const struct cgd_kernelops cgd_kops;
 



Home | Main Index | Thread Index | Old Index