summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ifpps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ifpps.c b/ifpps.c
index 5bf0d8e..dd03830 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -1042,7 +1042,7 @@ int main(int argc, char **argv)
ifname = xstrndup(optarg, IFNAMSIZ);
break;
case 't':
- interval = strtol(optarg, NULL, 10);
+ interval = strtoul(optarg, NULL, 10);
break;
case 'l':
stats_loop = 1;