Rename warning/fatal -> sudo_warn/sudo_fatal to avoid namespace
pollution in libsudo_util.so.
This commit is contained in:
@@ -491,7 +491,7 @@ iolog_deserialize_info(struct iolog_details *details, char * const user_info[],
|
||||
if (runas_uid_str != NULL) {
|
||||
id = atoid(runas_uid_str, NULL, NULL, &errstr);
|
||||
if (errstr != NULL)
|
||||
warningx("runas uid %s: %s", runas_uid_str, U_(errstr));
|
||||
sudo_warnx("runas uid %s: %s", runas_uid_str, U_(errstr));
|
||||
else
|
||||
runas_uid = (uid_t)id;
|
||||
}
|
||||
@@ -500,7 +500,7 @@ iolog_deserialize_info(struct iolog_details *details, char * const user_info[],
|
||||
if (runas_gid_str != NULL) {
|
||||
id = atoid(runas_gid_str, NULL, NULL, &errstr);
|
||||
if (errstr != NULL)
|
||||
warningx("runas gid %s: %s", runas_gid_str, U_(errstr));
|
||||
sudo_warnx("runas gid %s: %s", runas_gid_str, U_(errstr));
|
||||
else
|
||||
runas_gid = (gid_t)id;
|
||||
}
|
||||
|
Reference in New Issue
Block a user