summaryrefslogtreecommitdiffstats
path: root/src/clients
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-02-14 11:41:10 -0500
committerGreg Hudson <ghudson@mit.edu>2013-02-14 11:42:28 -0500
commit6dda284554a869f7fa1e6d2a035df06c97f103ef (patch)
tree6854b38ce7274b914b82b20bfb65eb8130df1ab8 /src/clients
parent80f53c8b2c745e75dc9d22acba63812d8533c133 (diff)
downloadkrb5-6dda284554a869f7fa1e6d2a035df06c97f103ef.tar.gz
krb5-6dda284554a869f7fa1e6d2a035df06c97f103ef.tar.xz
krb5-6dda284554a869f7fa1e6d2a035df06c97f103ef.zip
Modernize k5buf
Rename the krb5int_buf_ family of functions to use the k5_ prefix for brevity. Reformat some k5buf implementation code to match current practices.
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/ksu/authorization.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/clients/ksu/authorization.c b/src/clients/ksu/authorization.c
index f1cc8acd1..7f393b8d5 100644
--- a/src/clients/ksu/authorization.c
+++ b/src/clients/ksu/authorization.c
@@ -513,12 +513,12 @@ krb5_boolean find_first_cmd_that_exists(fcmd_arr, cmd_out, err_out)
}
if (retbool == FALSE ){
- krb5int_buf_init_dynamic(&buf);
- krb5int_buf_add(&buf, _("Error: not found -> "));
+ k5_buf_init_dynamic(&buf);
+ k5_buf_add(&buf, _("Error: not found -> "));
for(j= 0; j < i; j ++)
- krb5int_buf_add_fmt(&buf, " %s ", fcmd_arr[j]);
- krb5int_buf_add(&buf, "\n");
- *err_out = krb5int_buf_data(&buf);
+ k5_buf_add_fmt(&buf, " %s ", fcmd_arr[j]);
+ k5_buf_add(&buf, "\n");
+ *err_out = k5_buf_data(&buf);
if (*err_out == NULL) {
perror(prog_name);
exit(1);