Sun Jan 29 02:07:57 2017 UTC ()
missing brace


(christos)
diff -r1.21 -r1.22 src/common/lib/libprop/prop_kern.c

cvs diff -r1.21 -r1.22 src/common/lib/libprop/prop_kern.c (expand / switch to unified diff)

--- src/common/lib/libprop/prop_kern.c 2017/01/29 00:16:42 1.21
+++ src/common/lib/libprop/prop_kern.c 2017/01/29 02:07:57 1.22
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: prop_kern.c,v 1.21 2017/01/29 00:16:42 christos Exp $ */ 1/* $NetBSD: prop_kern.c,v 1.22 2017/01/29 02:07:57 christos Exp $ */
2 2
3/*- 3/*-
4 * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc. 4 * Copyright (c) 2006, 2009 The NetBSD Foundation, Inc.
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * This code is derived from software contributed to The NetBSD Foundation 7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe. 8 * by Jason R. Thorpe.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions 11 * modification, are permitted provided that the following conditions
12 * are met: 12 * are met:
13 * 1. Redistributions of source code must retain the above copyright 13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer.
@@ -482,27 +482,27 @@ prop_array_copyin(const struct plistref  @@ -482,27 +482,27 @@ prop_array_copyin(const struct plistref
482int 482int
483prop_dictionary_copyin_size(const struct plistref *pref, 483prop_dictionary_copyin_size(const struct plistref *pref,
484 prop_dictionary_t *dictp, size_t lim) 484 prop_dictionary_t *dictp, size_t lim)
485{ 485{
486 return _prop_object_copyin(pref, PROP_TYPE_DICTIONARY, 486 return _prop_object_copyin(pref, PROP_TYPE_DICTIONARY,
487 (prop_object_t *)dictp, lim); 487 (prop_object_t *)dictp, lim);
488} 488}
489 489
490int 490int
491prop_dictionary_copyin(const struct plistref *pref, prop_dictionary_t *dictp) 491prop_dictionary_copyin(const struct plistref *pref, prop_dictionary_t *dictp)
492{ 492{
493 return prop_dictionary_copyin_size(pref, dictp, 493 return prop_dictionary_copyin_size(pref, dictp,
494 prop_object_copyin_limit); 494 prop_object_copyin_limit);
495 495}
496 496
497/* 497/*
498 * prop_array_copyin_ioctl -- 498 * prop_array_copyin_ioctl --
499 * Copy in an array send with an ioctl. 499 * Copy in an array send with an ioctl.
500 */ 500 */
501int 501int
502prop_array_copyin_ioctl_size(const struct plistref *pref, const u_long cmd, 502prop_array_copyin_ioctl_size(const struct plistref *pref, const u_long cmd,
503 prop_array_t *arrayp, size_t lim) 503 prop_array_t *arrayp, size_t lim)
504{ 504{
505 return _prop_object_copyin_ioctl(pref, PROP_TYPE_ARRAY, 505 return _prop_object_copyin_ioctl(pref, PROP_TYPE_ARRAY,
506 cmd, (prop_object_t *)arrayp, lim); 506 cmd, (prop_object_t *)arrayp, lim);
507} 507}
508 508