cosmetic - improve error message
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 4 Sep 2012 06:05:40 +0000 (08:05 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 4 Sep 2012 06:05:40 +0000 (08:05 +0200)
root-context/fd_tuntap.c

index ddcd431..211095c 100644 (file)
@@ -122,7 +122,7 @@ int main(int argc, char *argv[])
     
     if( ioctl(tap_fd, TUNSETIFF, (void *) &ifr) < 0 ) {
         close(tap_fd);
-        perror("fd_tuntap: Failed to set tun type");
+        perror("fd_tuntap: Failed to set tun/tap name");
     }
 
     /* Read initialised interface name */