/*
- * carl9170user - userspace testing utility for ar9170 devices
+ * carlu - userspace testing utility for ar9170 devices
*
* Random assortment of debug stuff
*
- * Copyright 2009, 2010 Christian Lamparter <chunkeey@googlemail.com>
+ * Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
char str[17] = { 0 };
const unsigned char *tmp = (void *) buf;
char *pbuf = line;
- size_t i;
+ size_t i, j;
for (i = 0; i < len; i++) {
if (i % 16 == 0) {
if ((i % 16)) {
str[i % 16] = '\0';
- for (i = 0; i < (16 - (i % 16)); i++)
+ for (j = 0; j < (16 - (i % 16)); j++)
pbuf += sprintf(pbuf, " ");
}