You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-power/pm-utils/files/1.4.1-fix-alpm-typo.patch

30 lines
1.0 KiB

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