*
* Copyright (C) 2002 Matt Kraai.
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
#include "libbb.h"
n = 0;
while (1) {
char *s;
- char dev[sizeof(LOOP_NAME) + sizeof(int)*3];
+ char dev[LOOP_NAMESIZE];
- sprintf(dev, LOOP_NAME"%u", n);
+ sprintf(dev, LOOP_FORMAT, n);
s = query_loop(dev);
n++;
if (!s) {