On Tue, May 05, 2009 at 10:22:15AM +0200, Ivana Varekova wrote:
> For now the result is eg.:
> Cgroup generic error, see errno: error message: No such file or directory
> this patch remove outdated "see errno: " part.
> 
> second version
> 
> Signed-off-by: Ivana Varekova <[email protected]>
> Acked-by: Dhaval Giani <[email protected]>

thanks, merged!

> ---
> 
>  src/api.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/api.c b/src/api.c
> index baeb856..953a9d8 100644
> --- a/src/api.c
> +++ b/src/api.c
> @@ -105,7 +105,7 @@ char *cgroup_strerror_codes[] = {
>       "Cgroup operation failed",
>       "Cgroup not initialized",
>       "Cgroup trying to set value for control that does not exist",
> -     "Cgroup generic error, see errno",
> +     "Cgroup generic error",
>       "Cgroup values are not equal",
>       "Cgroup controllers are different",
>       "Cgroup parsing failed",
> @@ -2178,7 +2178,7 @@ char *cgroup_strerror(int code)
>  {
>       assert((code >= ECGROUPNOTCOMPILED) && (code < ECGSENTINEL));
>       if (code == ECGOTHER) {
> -             snprintf(errtext, MAXLEN, "%s: error message: %s",
> +             snprintf(errtext, MAXLEN, "%s, error message: %s",
>                       cgroup_strerror_codes[code % ECGROUPNOTCOMPILED],
>                       strerror(cgroup_get_last_errno()));
>               return errtext;
> 
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Libcg-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libcg-devel

-- 
regards,
Dhaval

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to