summaryrefslogtreecommitdiff
blob: 799369159ff25a902691dd4aa1381f890f01dfef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 93d46b88f415c1931b017856e3162c192bfba07c Mon Sep 17 00:00:00 2001
From: Martin Pitt <martin.pitt@ubuntu.com>
Date: Wed, 11 Jan 2012 15:39:53 +0100
Subject: [PATCH 3/3] Fix typo in sata_alpm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

ALPM → APLM

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=44676
Bug-Ubuntu: https://launchpad.net/bugs/900930
---
 pm/power.d/sata_alpm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pm/power.d/sata_alpm b/pm/power.d/sata_alpm
index 5ede307..400e1e7 100644
--- a/pm/power.d/sata_alpm
+++ b/pm/power.d/sata_alpm
@@ -28,7 +28,7 @@ set_sata_alpm() {
     [ "${kv%-*}" \< "2.6.33" ] && exit $NA  # avoid fs corruption
     for f in /sys/class/scsi_host/host*; do
 	[ -w "$f/link_power_management_policy" ] || continue
-	printf "Setting SATA APLM on %s to %s..." "${f##*/}" "$1"
+	printf "Setting SATA ALPM on %s to %s..." "${f##*/}" "$1"
 	echo "$1" > "$f/link_power_management_policy" && echo Done. || \
 	    echo Failed.
     done