* src/chfn.c, src/chsh.c, src/groupdel.c, src/groupmems.c,

src/groupmod.c, src/grpck.c, src/login.c, src/logoutd.c,
	src/newgrp.c, src/newusers.c, src/passwd.c, src/pwck.c,
	src/suauth.c, src/useradd.c, src/userdel.c, src/usermod.c,
	src/vipw.c: Complete the switch from the `' quotation style to ''.
	Do it also in SYSLOG messages. Quote some parameters. All this
	permits to merge some messages.
This commit is contained in:
nekral-guest
2008-08-06 15:51:52 +00:00
parent 2ebd2a08ff
commit 538600ef48
18 changed files with 92 additions and 82 deletions
+6 -6
View File
@@ -182,7 +182,7 @@ static int add_group (const char *name, const char *gid, gid_t *ngid, uid_t uid)
unsigned long int i = strtoul (gid, &endptr, 10);
if ((*endptr != '\0') || (ERANGE == errno)) {
fprintf (stderr,
_("%s: group ID `%s' is not valid\n"),
_("%s: group ID '%s' is not valid\n"),
Prog, gid);
return -1;
}
@@ -219,7 +219,7 @@ static int add_group (const char *name, const char *gid, gid_t *ngid, uid_t uid)
/* Check if this is a valid group name */
if (!is_valid_group_name (grent.gr_name)) {
fprintf (stderr,
_("%s: invalid group name `%s'\n"),
_("%s: invalid group name '%s'\n"),
Prog, grent.gr_name);
free (grent.gr_name);
return -1;
@@ -237,7 +237,7 @@ static int add_group (const char *name, const char *gid, gid_t *ngid, uid_t uid)
if (NULL != sg) {
fprintf (stderr,
_("%s: group %s is a shadow group, but does not exist in /etc/group\n"),
_("%s: group '%s' is a shadow group, but does not exist in /etc/group\n"),
Prog, grent.gr_name);
return -1;
}
@@ -282,7 +282,7 @@ static int get_uid (const char *uid, uid_t *nuid) {
unsigned long int i = strtoul (uid, &endptr, 10);
if (('\0' != *endptr) || (ERANGE == errno)) {
fprintf (stderr,
_("%s: user ID `%s' is not valid\n"),
_("%s: user ID '%s' is not valid\n"),
Prog, uid);
return -1;
}
@@ -299,7 +299,7 @@ static int get_uid (const char *uid, uid_t *nuid) {
*nuid = pwd->pw_uid;
} else {
fprintf (stderr,
_("%s: user `%s' does not exist\n"),
_("%s: user '%s' does not exist\n"),
Prog, uid);
return -1;
}
@@ -323,7 +323,7 @@ static int add_user (const char *name, uid_t uid, gid_t gid)
/* Check if this is a valid user name */
if (!is_valid_user_name (name)) {
fprintf (stderr,
_("%s: invalid user name `%s'\n"),
_("%s: invalid user name '%s'\n"),
Prog, name);
return -1;
}