diff --git a/ip/ipnetns.c b/ip/ipnetns.c index 1d8d3dc2..2b3b2e1e 100644 --- a/ip/ipnetns.c +++ b/ip/ipnetns.c @@ -435,7 +435,7 @@ static int netns_add(int argc, char **argv) /* Create the filesystem state */ fd = open(netns_path, O_RDONLY|O_CREAT|O_EXCL, 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)); return -1; }