Signed-off-by: Daniel Lezcano <daniel.lezc...@free.fr>
---
 powerdebug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/powerdebug.c b/powerdebug.c
index 05c0e34..7de6ddd 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -125,7 +125,7 @@ int getoptions(int argc, char *argv[], struct 
powerdebug_options *options)
                        }
                        break;
                case 't':
-                       options->ticktime = strtod(optarg, NULL);
+                       options->ticktime = atoi(optarg);
                        break;
                case 'd':
                        dump = 1;
-- 
1.7.1


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to