[PATCH] Fix two more typos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Liu Aleaxander <Aleaxander@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux