Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libprop call the proper size functions



details:   https://anonhg.NetBSD.org/src/rev/6e938ba73cb4
branches:  trunk
changeset: 821230:6e938ba73cb4
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 29 02:29:06 2017 +0000

description:
call the proper size functions

diffstat:

 common/lib/libprop/prop_kern.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 987a2b8e0d80 -r 6e938ba73cb4 common/lib/libprop/prop_kern.c
--- a/common/lib/libprop/prop_kern.c    Sun Jan 29 02:07:57 2017 +0000
+++ b/common/lib/libprop/prop_kern.c    Sun Jan 29 02:29:06 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: prop_kern.c,v 1.22 2017/01/29 02:07:57 christos Exp $  */
+/*     $NetBSD: prop_kern.c,v 1.23 2017/01/29 02:29:06 christos Exp $  */
 
 /*-
  * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
@@ -510,7 +510,7 @@
 prop_array_copyin_ioctl(const struct plistref *pref, const u_long cmd,
     prop_array_t *arrayp)
 {
-       return prop_array_copyin_ioctl(pref, cmd, arrayp,
+       return prop_array_copyin_ioctl_size(pref, cmd, arrayp,
            prop_object_copyin_limit);
 }
 
@@ -530,7 +530,7 @@
 prop_dictionary_copyin_ioctl(const struct plistref *pref, const u_long cmd,
     prop_dictionary_t *dictp)
 {
-    return prop_dictionary_copyin_ioctl(pref, cmd, dictp,
+    return prop_dictionary_copyin_ioctl_size(pref, cmd, dictp,
        prop_object_copyin_limit);
 }
 



Home | Main Index | Thread Index | Old Index