ipnetns: fix misprint in an error message
Signed-off-by: Mike Rapoport <mike.rapoport@ravellosystems.com>
This commit is contained in:
parent
7bc7fcaadb
commit
55713c8c72
|
|
@ -435,7 +435,7 @@ static int netns_add(int argc, char **argv)
|
||||||
/* Create the filesystem state */
|
/* Create the filesystem state */
|
||||||
fd = open(netns_path, O_RDONLY|O_CREAT|O_EXCL, 0);
|
fd = open(netns_path, O_RDONLY|O_CREAT|O_EXCL, 0);
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
fprintf(stderr, "Cannot not create namespace file \"%s\": %s\n",
|
fprintf(stderr, "Cannot create namespace file \"%s\": %s\n",
|
||||||
netns_path, strerror(errno));
|
netns_path, strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue