All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix two more typos
@ 2009-10-27  2:23 Liu Aleaxander
       [not found] ` <b741c2440910261923o75190755g24c351faa64d2484-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Liu Aleaxander @ 2009-10-27  2:23 UTC (permalink / raw)
  To: Oren Laadan,
	containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

The two typos make self_checkpoint.c and self_restart.c can't be compiled.

Signed-off-by: Liu Aleaxander <Aleaxander-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 Documentation/checkpoint/self_checkpoint.c |    2 +-
 Documentation/checkpoint/self_restart.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/checkpoint/self_checkpoint.c
b/Documentation/checkpoint/self_checkpoint.c
index e164381..11b17ea 100644
--- a/Documentation/checkpoint/self_checkpoint.c
+++ b/Documentation/checkpoint/self_checkpoint.c
@@ -1,4 +1,4 @@
->/*
+/*
  *  self_checkpoint.c: demonstrate self-checkpoint
  *
  *  Copyright (C) 2008 Oren Laadan
diff --git a/Documentation/checkpoint/self_restart.c
b/Documentation/checkpoint/self_restart.c
index 361f81b..aea2d0b 100644
--- a/Documentation/checkpoint/self_restart.c
+++ b/Documentation/checkpoint/self_restart.c
@@ -22,7 +22,7 @@

 inline static int restart(pid_t pid, int fd, unsigned long flags)
 {
-    return syscall(__NR_restat, pid, fd, flags);
+    return syscall(__NR_restart, pid, fd, flags);
 }

 int main(int argc, char *argv[])
-- 
1.6.2.5


-- 
regards
Liu Aleaxander

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-27 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27  2:23 [PATCH] Fix two more typos Liu Aleaxander
     [not found] ` <b741c2440910261923o75190755g24c351faa64d2484-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-10-27 13:53   ` Oren Laadan

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.