Wed Jan 23 17:27:35 2013 UTC ()
Fix typo.


(mbalmer)
diff -r1.17 -r1.18 src/include/rpcsvc/yp_prot.h

cvs diff -r1.17 -r1.18 src/include/rpcsvc/yp_prot.h (expand / switch to unified diff)

--- src/include/rpcsvc/yp_prot.h 2007/10/06 16:17:34 1.17
+++ src/include/rpcsvc/yp_prot.h 2013/01/23 17:27:35 1.18
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: yp_prot.h,v 1.17 2007/10/06 16:17:34 yamt Exp $ */ 1/* $NetBSD: yp_prot.h,v 1.18 2013/01/23 17:27:35 mbalmer Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@fsa.ca> 4 * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@fsa.ca>
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer. 11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright 12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the 13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution. 14 * documentation and/or other materials provided with the distribution.
@@ -277,27 +277,27 @@ struct ypbind_setdom { @@ -277,27 +277,27 @@ struct ypbind_setdom {
277#define YPPUSHPROC_NULL ((unsigned long)0) 277#define YPPUSHPROC_NULL ((unsigned long)0)
278#define YPPUSHPROC_XFRRESP ((unsigned long)1) 278#define YPPUSHPROC_XFRRESP ((unsigned long)1)
279 279
280struct yppushresp_xfr { 280struct yppushresp_xfr {
281 unsigned int transid; 281 unsigned int transid;
282 unsigned int status; 282 unsigned int status;
283}; 283};
284 284
285/* yppush status value in yppushresp_xfr.status */ 285/* yppush status value in yppushresp_xfr.status */
286#define YPPUSH_SUCC ((unsigned int)1) /* Success */ 286#define YPPUSH_SUCC ((unsigned int)1) /* Success */
287#define YPPUSH_AGE ((unsigned int)2) /* Master's version not newer */ 287#define YPPUSH_AGE ((unsigned int)2) /* Master's version not newer */
288#define YPPUSH_NOMAP ((unsigned int)-1) /* Can't find server for map */ 288#define YPPUSH_NOMAP ((unsigned int)-1) /* Can't find server for map */
289#define YPPUSH_NODOM ((unsigned int)-2) /* Domain not supported */ 289#define YPPUSH_NODOM ((unsigned int)-2) /* Domain not supported */
290#define YPPUSH_RSRC ((unsigned int)-3) /* Local resouce alloc failure */ 290#define YPPUSH_RSRC ((unsigned int)-3) /* Local resource alloc failure */
291#define YPPUSH_RPC ((unsigned int)-4) /* RPC failure talking to server */ 291#define YPPUSH_RPC ((unsigned int)-4) /* RPC failure talking to server */
292#define YPPUSH_MADDR ((unsigned int)-5) /* Can't get master address */ 292#define YPPUSH_MADDR ((unsigned int)-5) /* Can't get master address */
293#define YPPUSH_YPERR ((unsigned int)-6) /* YP server/map db error */ 293#define YPPUSH_YPERR ((unsigned int)-6) /* YP server/map db error */
294#define YPPUSH_BADARGS ((unsigned int)-7) /* Request arguments bad */ 294#define YPPUSH_BADARGS ((unsigned int)-7) /* Request arguments bad */
295#define YPPUSH_DBM ((unsigned int)-8) /* Local dbm operation failed */ 295#define YPPUSH_DBM ((unsigned int)-8) /* Local dbm operation failed */
296#define YPPUSH_FILE ((unsigned int)-9) /* Local file I/O operation failed */ 296#define YPPUSH_FILE ((unsigned int)-9) /* Local file I/O operation failed */
297#define YPPUSH_SKEW ((unsigned int)-10) /* Map version skew during transfer */ 297#define YPPUSH_SKEW ((unsigned int)-10) /* Map version skew during transfer */
298#define YPPUSH_CLEAR ((unsigned int)-11) /* Can't send "Clear" req to local ypserv */ 298#define YPPUSH_CLEAR ((unsigned int)-11) /* Can't send "Clear" req to local ypserv */
299#define YPPUSH_FORCE ((unsigned int)-12) /* No local order number in map - use -f */ 299#define YPPUSH_FORCE ((unsigned int)-12) /* No local order number in map - use -f */
300#define YPPUSH_XFRERR ((unsigned int)-13) /* ypxfr error */ 300#define YPPUSH_XFRERR ((unsigned int)-13) /* ypxfr error */
301#define YPPUSH_REFUSED ((unsigned int)-14) /* Transfer request refused by ypserv */ 301#define YPPUSH_REFUSED ((unsigned int)-14) /* Transfer request refused by ypserv */
302 302
303struct ypall_callback; 303struct ypall_callback;