"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Examine.c" between
mdadm-4.2-rc1.tar.xz and mdadm-4.2-rc2.tar.xz

About: mdadm is a tool for creating, managing and monitoring device arrays using the "md" driver in Linux, also known as Software RAID arrays.

Examine.c  (mdadm-4.2-rc1.tar.xz):Examine.c  (mdadm-4.2-rc2.tar.xz)
skipping to change at line 169 skipping to change at line 169
} }
} }
if (c->brief) { if (c->brief) {
struct array *ap; struct array *ap;
for (ap = arrays; ap; ap = ap->next) { for (ap = arrays; ap; ap = ap->next) {
char sep='='; char sep='=';
char *d; char *d;
int newline = 0; int newline = 0;
ap->st->ss->brief_examine_super(ap->st, c->verbose > 0); ap->st->ss->brief_examine_super(ap->st, c->verbose > 0);
if (ap->spares) if (ap->spares && !ap->st->ss->external)
newline += printf(" spares=%d", ap->spares); newline += printf(" spares=%d", ap->spares);
if (c->verbose > 0) { if (c->verbose > 0) {
newline += printf(" devices"); newline += printf(" devices");
for (d = dl_next(ap->devs); for (d = dl_next(ap->devs);
d != ap->devs; d != ap->devs;
d=dl_next(d)) { d=dl_next(d)) {
printf("%c%s", sep, d); printf("%c%s", sep, d);
sep=','; sep=',';
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)