diff options
author | ed <ed@FreeBSD.org> | 2011-10-15 13:20:36 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-10-15 13:20:36 +0000 |
commit | 2f1e586900d3dd1525085e659a5098430694a597 (patch) | |
tree | f024d0e8b509c1244d8674d4d5e4d87adca05607 /usr.bin/systat/devs.c | |
parent | 8e118d38cf6e48ba3629cca5b7d2412a6a37847a (diff) | |
download | FreeBSD-src-2f1e586900d3dd1525085e659a5098430694a597.zip FreeBSD-src-2f1e586900d3dd1525085e659a5098430694a597.tar.gz |
Fix whitespace inconsistencies in systat(1).
According to md5(1), the resulting binary is the same.
Diffstat (limited to 'usr.bin/systat/devs.c')
-rw-r--r-- | usr.bin/systat/devs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/systat/devs.c b/usr.bin/systat/devs.c index e6df07c..09a1838 100644 --- a/usr.bin/systat/devs.c +++ b/usr.bin/systat/devs.c @@ -105,7 +105,7 @@ dsinit(int maxshowdevs, struct statinfo *s1, struct statinfo *s2 __unused, /* * Make sure that the userland devstat version matches the kernel - * devstat version. If not, exit and print a message informing + * devstat version. If not, exit and print a message informing * the user of his mistake. */ if (devstat_checkversion(NULL) < 0) @@ -155,10 +155,10 @@ dscmd(const char *cmd, const char *args, int maxshowdevs, struct statinfo *s1) if (prefix(cmd, "refresh")) { retval = devstat_selectdevs(&dev_select, &num_selected, &num_selections, &select_generation, generation, - s1->dinfo->devices, num_devices, + s1->dinfo->devices, num_devices, (last_type ==DS_MATCHTYPE_PATTERN) ? matches : NULL, (last_type ==DS_MATCHTYPE_PATTERN) ? num_matches : 0, - (last_type == DS_MATCHTYPE_SPEC) ?specified_devices : NULL, + (last_type == DS_MATCHTYPE_SPEC) ?specified_devices : NULL, (last_type == DS_MATCHTYPE_SPEC) ?num_devices_specified : 0, (last_type == DS_MATCHTYPE_NONE) ? DS_SELECT_ADD : DS_SELECT_ADDONLY, maxshowdevs, 0); @@ -220,7 +220,7 @@ dsmatchselect(const char *args, devstat_select_mode select_mode, int maxshowdevs } for (i = 0; i < num_args; i++) { - if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { + if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { warnx("%s", devstat_errbuf); return(0); } @@ -282,7 +282,7 @@ dsselect(const char *args, devstat_select_mode select_mode, int maxshowdevs, asprintf(&buffer, "%s%d", dev_select[i].device_name, dev_select[i].unit_number); if (strcmp(buffer, tmpstr1) == 0) { - + num_devices_specified++; specified_devices =(char **)realloc( |