diff options
author | Karel Zak | 2006-12-07 00:25:58 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:58 +0100 |
commit | 63cccae4684f83d2a462bc8abf24e51d1bd6efb6 (patch) | |
tree | 433db3f0b44e0f46e4130141f4a59db9c3564557 /mount/pivot_root.c | |
parent | Imported from util-linux-2.11r tarball. (diff) | |
download | kernel-qcow2-util-linux-63cccae4684f83d2a462bc8abf24e51d1bd6efb6.tar.gz kernel-qcow2-util-linux-63cccae4684f83d2a462bc8abf24e51d1bd6efb6.tar.xz kernel-qcow2-util-linux-63cccae4684f83d2a462bc8abf24e51d1bd6efb6.zip |
Imported from util-linux-2.11t tarball.
Diffstat (limited to 'mount/pivot_root.c')
-rw-r--r-- | mount/pivot_root.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mount/pivot_root.c b/mount/pivot_root.c index 674271ad2..faa0e4d50 100644 --- a/mount/pivot_root.c +++ b/mount/pivot_root.c @@ -15,15 +15,15 @@ static _syscall2(int,pivot_root,const char *,new_root,const char *,put_old) #endif -int main(int argc,const char **argv) +int main(int argc, const char **argv) { - if (argc != 3) { - fprintf(stderr,"usage: %s new_root put_old\n",argv[0]); - return 1; - } - if (pivot_root(argv[1],argv[2]) < 0) { - perror("pivot_root"); - return 1; - } - return 0; + if (argc != 3) { + fprintf(stderr, "usage: %s new_root put_old\n", argv[0]); + return 1; + } + if (pivot_root(argv[1],argv[2]) < 0) { + perror("pivot_root"); + return 1; + } + return 0; } |