diff options
author | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-12-17 15:23:42 +0000 |
---|---|---|
committer | Balbir Singh <balbir@linux.vnet.ibm.com> | 2008-12-17 15:23:42 +0000 |
commit | 1f80116482b1f158838d690c9a4f2989818769bc (patch) | |
tree | 2544192bed5077418a74847bf2dd7cdb581ab683 /tests/libcgrouptest01.c | |
parent | d10cb56372f8da86ef11dba376c40b61aef5fa49 (diff) | |
download | libcg-1f80116482b1f158838d690c9a4f2989818769bc.tar.gz libcg-1f80116482b1f158838d690c9a4f2989818769bc.tar.xz libcg-1f80116482b1f158838d690c9a4f2989818769bc.zip |
libcgroup Test: add message
This patch fixes the NUM_MSGS error which was still 10, however there
are more type of messages to be printed. It also adds the support to just
print a new line in case there is no message to be printed.
Signed-off-by: Sudhir Kumar <skumar@linux.vnet.ibm.com>
git-svn-id: https://libcg.svn.sourceforge.net/svnroot/libcg/trunk@279 4f4bb910-9a46-0410-90c8-c897d4f1cd53
Diffstat (limited to 'tests/libcgrouptest01.c')
-rw-r--r-- | tests/libcgrouptest01.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libcgrouptest01.c b/tests/libcgrouptest01.c index 07bb543..766dc98 100644 --- a/tests/libcgrouptest01.c +++ b/tests/libcgrouptest01.c @@ -1361,6 +1361,9 @@ void set_info_msgs() case 15: strncpy(info[k], " Group not deleted globaly\n", SIZE); break; + case 19: + strncpy(info[k], " \n", SIZE); + break; /* Add more messages here and change NUM_MSGS */ default: break; |