summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/wicontrol/wicontrol.82
-rw-r--r--usr.sbin/wicontrol/wicontrol.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/wicontrol/wicontrol.8 b/usr.sbin/wicontrol/wicontrol.8
index 1d23ceb..acc5a30 100644
--- a/usr.sbin/wicontrol/wicontrol.8
+++ b/usr.sbin/wicontrol/wicontrol.8
@@ -513,7 +513,7 @@ values for this parameter are
This flag is obsolete.
The
.Xr ifconfig 8
-.Cm powersleep
+.Cm powersavesleep
should be used instead.
.Pp
Specify the sleep interval to use when power management is enabled.
diff --git a/usr.sbin/wicontrol/wicontrol.c b/usr.sbin/wicontrol/wicontrol.c
index 7557c0b..8f52043 100644
--- a/usr.sbin/wicontrol/wicontrol.c
+++ b/usr.sbin/wicontrol/wicontrol.c
@@ -1190,7 +1190,7 @@ main(int argc, char *argv[])
exit(0);
break;
case 'S':
- dep("S", "powersleep");
+ dep("S", "powersavesleep");
wi_setword(iface, WI_RID_MAX_SLEEP, atoi(optarg));
exit(0);
break;
OpenPOWER on IntegriCloud