From 7b6e01b869e5d79d3ed0c410adc50e4daaa028f1 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Sat, 14 Nov 2009 22:17:41 +0100 Subject: [PATCH] fix last commit --- src/proc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/proc.c b/src/proc.c index a61e1eb5..783af806 100644 --- a/src/proc.c +++ b/src/proc.c @@ -106,7 +106,7 @@ void print_pid_chroot(struct text_object *obj, char *p, int p_max_size) { char *buffer; asprintf(&buffer, PROCDIR "/%s/root", obj->data.s); - print_pid_readlink(buffer, p, p_max_size); + pid_readlink(buffer, p, p_max_size); free(buffer); } @@ -204,7 +204,7 @@ void print_pid_exe(struct text_object *obj, char *p, int p_max_size) { char *buffer; asprintf(&buffer, PROCDIR "/%s/exe", obj->data.s); - print_pid_readlink(buffer, p, p_max_size); + pid_readlink(buffer, p, p_max_size); free(buffer); } @@ -288,7 +288,7 @@ void print_pid_stderr(struct text_object *obj, char *p, int p_max_size) { char *buffer; asprintf(&buffer, PROCDIR "/%s/fd/2", obj->data.s); - print_pid_readlink(buffer, p, p_max_size); + pid_readlink(buffer, p, p_max_size); free(buffer); } @@ -296,7 +296,7 @@ void print_pid_stdin(struct text_object *obj, char *p, int p_max_size) { char *buffer; asprintf(&buffer, PROCDIR "/%s/fd/0", obj->data.s); - print_pid_readlink(buffer, p, p_max_size); + pid_readlink(buffer, p, p_max_size); free(buffer); } @@ -304,7 +304,7 @@ void print_pid_stdout(struct text_object *obj, char *p, int p_max_size) { char *buffer; asprintf(&buffer, PROCDIR "/%s/fd/1", obj->data.s); - print_pid_readlink(buffer, p, p_max_size); + pid_readlink(buffer, p, p_max_size); free(buffer); }