[Devel] [PATCH] Fix two more typos

Liu Aleaxander aleaxander at gmail.com
Mon Oct 26 19:23:58 PDT 2009


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

Signed-off-by: Liu Aleaxander <Aleaxander at gmail.com>
---
 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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list