utils: get_jiffies always uses base=0
get_jiffies() is in all places called in the same manner, with base=0;
simplify argument list by putting the constant value into the function.
diff --git a/lib/utils.c b/lib/utils.c
index a60d884..52f2b1f 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -100,7 +100,7 @@
* a "raw" number.
*/
-int get_jiffies(unsigned *jiffies, const char *arg, int base, int *raw)
+int get_jiffies(unsigned *jiffies, const char *arg, int *raw)
{
double t;
unsigned long res;
@@ -112,7 +112,7 @@
return -1;
}
else {
- res = strtoul(arg,&p,base);
+ res = strtoul(arg, &p, 0);
if (res > UINT_MAX)
return -1;
t = (double)res;