Balbir Singh wrote:
> * Balbir Singh <[email protected]> [2009-02-02 20:57:11]:
> 
>> * [email protected] <[email protected]> [2009-02-02 12:33:27]:
>>
>>> The previous patch is split so the second part of the patch:
>>>
>>> This part change error messages - to dbg info messages - the data from 
>>> error messages are now printed in main procedure
>>>
>>> Signed-off-by: Ivana Varekova <[email protected]>
>>>
>>> Ivana Varekova
>>> --------------------------------------------------------
>>>
>>> diff -up ./cgclassify.c.pom ./cgclassify.c
>>> --- ./cgclassify.c.pom      2009-01-30 15:31:20.000000000 +0100
>>> +++ ./cgclassify.c  2009-01-30 15:39:02.000000000 +0100
>>> @@ -44,7 +44,7 @@ int euid_of_pid(pid_t pid, uid_t *euid)
>>>     sprintf(path, "/proc/%d/status", pid);
>>>     fp = fopen(path, "r");
>>>     if (!fp) {
>>> -           fprintf(stderr, "Error in opening file %s:%s\n", path,
>>> +           dbg("Error in opening file %s:%s\n", path,
>>>                             strerror(errno));
>>>             return ECGPROCNEXISTS;
>>>     }
>>> @@ -79,7 +79,7 @@ int egid_of_pid(pid_t pid, uid_t *egid)
>>>     sprintf(path, "/proc/%d/status", pid);
>>>     fp = fopen(path, "r");
>>>     if (!fp) {
>>> -           fprintf(stderr, "Error in opening file %s:%s\n", path,
>>> +           dbg("Error in opening file %s:%s\n", path,
>>>                             strerror(errno));
>>>             return ECGPROCNEXISTS;
>>>     }
>> Good catch!
>>
>> Acked-by: Balbir Singh <[email protected]>
>>
> 
> Committed to trunk 
> 

Thanks Balbir!

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to