summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/power.c')
-rw-r--r--usr/src/uts/common/io/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/power.c b/usr/src/uts/common/io/power.c
index 61e675ba77..aed53f5334 100644
--- a/usr/src/uts/common/io/power.c
+++ b/usr/src/uts/common/io/power.c
@@ -116,7 +116,7 @@ static char hasEPIC = B_FALSE;
static void *power_state;
static int power_inst = -1;
-static hrtime_t power_button_debounce = NANOSEC/MILLISEC*10;
+static hrtime_t power_button_debounce = MSEC2NSEC(10);
static hrtime_t power_button_abort_interval = 1.5 * NANOSEC;
static int power_button_abort_presses = 3;
static int power_button_abort_enable = 1;