aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/crond.c1
-rw-r--r--miscutils/hdparm.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index 66110bb85..d028eb089 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -243,7 +243,6 @@ static void ParseField(char *user, char *ary, int modvalue, int off,
243 goto err; 243 goto err;
244 } 244 }
245 } while (n1 != n2); 245 } while (n1 != n2);
246
247 } 246 }
248 if (*ptr != ',') { 247 if (*ptr != ',') {
249 break; 248 break;
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 9738620fd..236b1749c 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -730,8 +730,8 @@ static void identify(uint16_t *val)
730 if (val[MINOR] && (val[MINOR] <= MINOR_MAX)) { 730 if (val[MINOR] && (val[MINOR] <= MINOR_MAX)) {
731 if (like_std < 3) like_std = 3; 731 if (like_std < 3) like_std = 3;
732 std = actual_ver[val[MINOR]]; 732 std = actual_ver[val[MINOR]];
733 if (std) printf("\n\tUsed: %s ", nth_string(minor_str, val[MINOR])); 733 if (std)
734 734 printf("\n\tUsed: %s ", nth_string(minor_str, val[MINOR]));
735 } 735 }
736 /* looks like when they up-issue the std, they obsolete one; 736 /* looks like when they up-issue the std, they obsolete one;
737 * thus, only the newest 4 issues need be supported. (That's 737 * thus, only the newest 4 issues need be supported. (That's