From: liubo <liubo-fnst@cn.fujitsu.com>
To: ltp-list@lists.sourceforge.net
Cc: ltp-list@lists.sf.net
Subject: [LTP] [PATCH]:fix the bug of macro in getdelays.c
Date: Mon, 14 Sep 2009 15:55:41 +0800 [thread overview]
Message-ID: <4AADF6FD.3020802@cn.fujitsu.com> (raw)
When running cgroup test, I found a bug of macro in
getdelays.c, which refers to the spelling mistake.
And this leads to testcase_eight's abnormal delay.
Relative macro:
HAVE_LINUX_CGROUPSTATS_H
Change macro HAVE_LINUX_CGROUPSTAT_H to HAVE_LINUX_CGROUPSTATS_H
to fix the bug.
signed-off-by:Liu Bo <liubo-fnst@cn.fujitsu.com>
---
diff --git a/testcases/kernel/controllers/cgroup/getdelays.c b/testcases/kernel/controllers/cgroup/getdelays.c
index 478b325..c9f532d 100644
--- a/testcases/kernel/controllers/cgroup/getdelays.c
+++ b/testcases/kernel/controllers/cgroup/getdelays.c
@@ -397,7 +397,7 @@ int main(int argc, char *argv[])
}
if (containerset) {
- #ifdef HAVE_LINUX_CGROUPSTAT_H
+ #ifdef HAVE_LINUX_CGROUPSTATS_H
cfd = open(containerpath, O_RDONLY);
if (cfd < 0) {
perror("error opening container file");
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2009-09-14 7:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 7:55 liubo [this message]
2009-09-15 6:08 ` [LTP] [PATCH]:fix the bug of macro in getdelays.c Subrata Modak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AADF6FD.3020802@cn.fujitsu.com \
--to=liubo-fnst@cn.fujitsu.com \
--cc=ltp-list@lists.sf.net \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox