summaryrefslogtreecommitdiffstats
path: root/mount/bind.c
blob: 4af72a9c349090f065a43c71fd8a8ae2d0ec3d7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <sys/mount.h>

main(int argc, char **argv) {
	int ret;

	ret = mount(argv[1], argv[2], "bind", MS_MGC_VAL, NULL);
	if (ret)
		perror("bind");
	return ret;
}