aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/crond.c4
-rw-r--r--miscutils/crontab.c2
-rw-r--r--miscutils/devfsd.c2
-rw-r--r--miscutils/hdparm.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index e32bac67a..085cf6e9d 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -310,7 +310,7 @@ static int ChangeUser(const char *user)
310 const char *err_msg; 310 const char *err_msg;
311 311
312 /* 312 /*
313 * Obtain password entry and change privilages 313 * Obtain password entry and change privileges
314 */ 314 */
315 pas = getpwnam(user); 315 pas = getpwnam(user);
316 if (pas == 0) { 316 if (pas == 0) {
@@ -1020,7 +1020,7 @@ static void EndJob(const char *user, CronLine * line)
1020 ForkJob(user, line, mailFd, SENDMAIL, SENDMAIL_ARGS, NULL); 1020 ForkJob(user, line, mailFd, SENDMAIL, SENDMAIL_ARGS, NULL);
1021} 1021}
1022#else 1022#else
1023/* crond whithout sendmail */ 1023/* crond without sendmail */
1024 1024
1025static void RunJob(const char *user, CronLine * line) 1025static void RunJob(const char *user, CronLine * line)
1026{ 1026{
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index 52d08dda3..89e13775f 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -339,7 +339,7 @@ ChangeUser(const char *user, short dochdir)
339 struct passwd *pas; 339 struct passwd *pas;
340 340
341 /* 341 /*
342 * Obtain password entry and change privilages 342 * Obtain password entry and change privileges
343 */ 343 */
344 344
345 if ((pas = getpwnam(user)) == 0) { 345 if ((pas = getpwnam(user)) == 0) {
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 6a249bdce..c2dde91c6 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -1563,7 +1563,7 @@ static int expand_expression(char *output, unsigned int outsize,
1563 void *info, 1563 void *info,
1564 const char *devname, 1564 const char *devname,
1565 const regmatch_t *ex, unsigned int numexp) 1565 const regmatch_t *ex, unsigned int numexp)
1566/* [SUMMARY] Expand enviroment variables and regular subexpressions in string. 1566/* [SUMMARY] Expand environment variables and regular subexpressions in string.
1567 <output> The output expanded expression is written here. 1567 <output> The output expanded expression is written here.
1568 <length> The size of the output buffer. 1568 <length> The size of the output buffer.
1569 <input> The input expression. This may equal <<output>>. 1569 <input> The input expression. This may equal <<output>>.
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 006dc0d49..bbb707cf7 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -222,7 +222,7 @@ static const char *ata1_cfg_str[] = { /* word 0 in ATA-1 mode */
222/* word 1: number of logical cylinders */ 222/* word 1: number of logical cylinders */
223#define LCYLS_MAX 0x3fff /* maximum allowable value */ 223#define LCYLS_MAX 0x3fff /* maximum allowable value */
224 224
225/* word 2: specific configureation 225/* word 2: specific configuration
226 * (a) require SET FEATURES to spin-up 226 * (a) require SET FEATURES to spin-up
227 * (b) require spin-up to fully reply to IDENTIFY DEVICE 227 * (b) require spin-up to fully reply to IDENTIFY DEVICE
228 */ 228 */