Sun May 7 11:41:49 2023 UTC ()
s/inferface/interface/


(andvar)
diff -r1.5 -r1.6 src/share/man/man4/man4.sandpoint/satmgr.4
diff -r1.14 -r1.15 src/usr.sbin/altq/altqstat/quip_client.c

cvs diff -r1.5 -r1.6 src/share/man/man4/man4.sandpoint/satmgr.4 (expand / switch to unified diff)

--- src/share/man/man4/man4.sandpoint/satmgr.4 2012/01/15 20:27:58 1.5
+++ src/share/man/man4/man4.sandpoint/satmgr.4 2023/05/07 11:41:49 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: satmgr.4,v 1.5 2012/01/15 20:27:58 wiz Exp $ 1.\" $NetBSD: satmgr.4,v 1.6 2023/05/07 11:41:49 andvar Exp $
2.\" 2.\"
3.\" Copyright (c) 2011-2012 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2011-2012 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Tohru Nishimura. 7.\" by Tohru Nishimura.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -102,27 +102,27 @@ Toggle the system watchdog on (1) or off @@ -102,27 +102,27 @@ Toggle the system watchdog on (1) or off
102.Pp 102.Pp
103For the 103For the
104.Tn "Iomega StorCenter" 104.Tn "Iomega StorCenter"
105the following variables have been defined: 105the following variables have been defined:
106.Bl -tag -width indent 106.Bl -tag -width indent
107.It machdep.satmgr.fan_low_temp 107.It machdep.satmgr.fan_low_temp
108Set the temperature below which the fan is turned off. 108Set the temperature below which the fan is turned off.
109.It machdep.satmgr.fan_high_temp 109.It machdep.satmgr.fan_high_temp
110Set the temperature above which the fan is turned on. 110Set the temperature above which the fan is turned on.
111.El 111.El
112.Sh FILES 112.Sh FILES
113.Bl -tag -width /dev/satmgrX -compact 113.Bl -tag -width /dev/satmgrX -compact
114.It Pa /dev/satmgr 114.It Pa /dev/satmgr
115communication inferface to 115communication interface to
116.Nm . 116.Nm .
117.It Pa /dev/power 117.It Pa /dev/power
118event notify channel to 118event notify channel to
119.Xr powerd 8 . 119.Xr powerd 8 .
120.El 120.El
121.Sh SEE ALSO 121.Sh SEE ALSO
122.Xr powerd 8 , 122.Xr powerd 8 ,
123.Xr sysctl 8 123.Xr sysctl 8
124.Sh HISTORY 124.Sh HISTORY
125The 125The
126.Nm 126.Nm
127driver first appeared in 127driver first appeared in
128.Nx 6.0 . 128.Nx 6.0 .

cvs diff -r1.14 -r1.15 src/usr.sbin/altq/altqstat/quip_client.c (expand / switch to unified diff)

--- src/usr.sbin/altq/altqstat/quip_client.c 2020/02/07 21:53:20 1.14
+++ src/usr.sbin/altq/altqstat/quip_client.c 2023/05/07 11:41:49 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: quip_client.c,v 1.14 2020/02/07 21:53:20 fox Exp $ */ 1/* $NetBSD: quip_client.c,v 1.15 2023/05/07 11:41:49 andvar Exp $ */
2/* $KAME: quip_client.c,v 1.9 2003/05/17 05:59:00 itojun Exp $ */ 2/* $KAME: quip_client.c,v 1.9 2003/05/17 05:59:00 itojun Exp $ */
3/* 3/*
4 * Copyright (C) 1999-2000 4 * Copyright (C) 1999-2000
5 * Sony Computer Science Laboratories, Inc. All rights reserved. 5 * Sony Computer Science Laboratories, Inc. 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.
@@ -300,27 +300,27 @@ quip_rawmode(void) @@ -300,27 +300,27 @@ quip_rawmode(void)
300} 300}
301 301
302char * 302char *
303quip_selectinterface(char *ifname) 303quip_selectinterface(char *ifname)
304{ 304{
305 char buf[BODY_MAXSIZE], *cp; 305 char buf[BODY_MAXSIZE], *cp;
306 int result_code, len; 306 int result_code, len;
307 u_int if_index; 307 u_int if_index;
308 static char interface[64]; 308 static char interface[64];
309 309
310 if (server == NULL) 310 if (server == NULL)
311 return (ifname); 311 return (ifname);
312 312
313 /* get an inferface list from the server */ 313 /* get an interface list from the server */
314 quip_sendrequest(server, "GET list?*\n"); 314 quip_sendrequest(server, "GET list?*\n");
315 315
316 result_code = quip_recvresponse(server, NULL, buf, &len); 316 result_code = quip_recvresponse(server, NULL, buf, &len);
317 if (result_code != 200) 317 if (result_code != 200)
318 errx(1, "can't get interface list"); 318 errx(1, "can't get interface list");
319 319
320 cp = buf; 320 cp = buf;
321 while (1) { 321 while (1) {
322 if (sscanf(cp, "%x %63s", &if_index, interface) != 2) 322 if (sscanf(cp, "%x %63s", &if_index, interface) != 2)
323 break; 323 break;
324 if (ifname == NULL) { 324 if (ifname == NULL) {
325 /* if name isn't specified, return the 1st entry */ 325 /* if name isn't specified, return the 1st entry */
326 return (interface); 326 return (interface);