summaryrefslogtreecommitdiff
path: root/recipes/ipaq-sleep/files/unbreak.patch
blob: 5116e9957f211bd43369fa97ce9474e2dee4d09f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/ipaq-sleep.c.org	2006-01-20 19:43:14.000000000 +0200
+++ a/ipaq-sleep.c	2007-12-26 06:26:32.000000000 +0200
@@ -108,7 +111,7 @@
       if (fgets (buf, 32, input))
 	{
 	  if (!strncmp (buf, "on ", 3))
-	    r = atoi (buf + 4);
+	    r = atoi (buf + 3);
 	  else
 	    r = -1;
 	}