return 1;
}
-static const char TRext[] = "\0\0\0Ki\0Mi\0Gi\0Ti";
+static const char TRext[] ALIGN1 = "\0\0\0Ki\0Mi\0Gi\0Ti";
static void print_bytes_scaled(unsigned long long ull, const char *end)
{
printf("(auto)");
}
#endif
- puts("");
+ bb_putchar('\n');
if (ptr->has_ip) {
printf(" %s addr:%s ", ap->name,
if (ptr->flags == 0) {
printf("[NO FLAGS] ");
} else {
- static const char ife_print_flags_strs[] =
+ static const char ife_print_flags_strs[] ALIGN1 =
"UP\0"
"BROADCAST\0"
"DEBUG\0"
"DYNAMIC\0"
#endif
;
- static const unsigned short ife_print_flags_mask[] = {
+ static const unsigned short ife_print_flags_mask[] ALIGN2 = {
IFF_UP,
IFF_BROADCAST,
IFF_DEBUG,
IFF_ALLMULTI,
IFF_SLAVE,
IFF_MASTER,
- IFF_MULTICAST,
+ IFF_MULTICAST
#ifdef HAVE_DYNAMIC
- IFF_DYNAMIC,
+ ,IFF_DYNAMIC
#endif
};
const unsigned short *mask = ife_print_flags_mask;
if (ptr->outfill || ptr->keepalive)
printf(" Outfill:%d Keepalive:%d", ptr->outfill, ptr->keepalive);
#endif
- puts("");
+ bb_putchar('\n');
/* If needed, display the interface statistics. */
}
if (ptr->map.dma)
printf("DMA chan:%x ", ptr->map.dma);
- puts("");
+ bb_putchar('\n');
}
- puts("");
+ bb_putchar('\n');
}