From: "Serge E. Hallyn" <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Linux Containers <containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>
Subject: [PATCH 1/1] checkpoint_sem trivialities
Date: Tue, 16 Jun 2009 17:04:10 -0500 [thread overview]
Message-ID: <20090616220410.GA7115@us.ibm.com> (raw)
fix a typo in a comment
rather than #include msg.h just so util.h doesn't break on struct msg_msg,
just fwd-declare it. Probably should be fixed in util.h itself?
Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
ipc/checkpoint_sem.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ipc/checkpoint_sem.c b/ipc/checkpoint_sem.c
index e6934dc..19e9402 100644
--- a/ipc/checkpoint_sem.c
+++ b/ipc/checkpoint_sem.c
@@ -19,7 +19,7 @@
#include <linux/nsproxy.h>
#include <linux/ipc_namespace.h>
-#include <linux/msg.h> /* needed for util.h that uses 'struct msg_msg' */
+struct msg_msg;
#include "util.h"
#include <linux/checkpoint.h>
@@ -192,7 +192,7 @@ int restore_ipc_sem(struct ckpt_ctx *ctx)
ckpt_debug("sem: do_semget key %d flag %#x id %d\n",
h->perms.key, semflag, h->perms.id);
ret = do_semget(h->perms.key, h->sem_nsems, semflag, h->perms.id);
- ckpt_debug("sem: do_msgget ret %d\n", ret);
+ ckpt_debug("sem: do_semget ret %d\n", ret);
if (ret < 0)
goto out;
--
1.6.1
next reply other threads:[~2009-06-16 22:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-16 22:04 Serge E. Hallyn [this message]
[not found] ` <20090616220410.GA7115-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-06-18 16:41 ` [PATCH 1/1] checkpoint_sem trivialities Oren Laadan
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=20090616220410.GA7115@us.ibm.com \
--to=serue-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.