Skip to contentSkip to conversation

fix misleading error message in tools/tunctl/tunctl.c

PATCH Applied Leonard Norrgård 2 participants 2 messages Mar 1, 2007 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix misleading error message in tools/tunctl/tunctl.c

Fix misleading error message.

Index: tunctl/tunctl.c
===================================================================
RCS file: /cvsroot/user-mode-linux/tools/tunctl/tunctl.c,v retrieving revision 1.4

tunctl.c +1 -1
diff -u -r1.4 tunctl.c
@@ -101,7 +101,7 @@
       exit(1);
     }
     if(ioctl(tap_fd, TUNSETOWNER, owner) < 0){
-      perror("TUNSETPERSIST");
+      perror("TUNSETOWNER");
       exit(1);
     } 
     if(brief)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Applied
#1 lore raw
Quoted 13 lines · Leonard Norrgård

Fix misleading error message.

Index: tunctl/tunctl.c
===================================================================
RCS file: /cvsroot/user-mode-linux/tools/tunctl/tunctl.c,v retrieving revision 1.4
diff -u -r1.4 tunctl.c

tunctl.c line 107

Quoted 8 lines
tunctl.c +1 -1
@@ -101,7 +101,7 @@
       exit(1);
     }
     if(ioctl(tap_fd, TUNSETOWNER, owner) < 0){
-      perror("TUNSETPERSIST");
+      perror("TUNSETOWNER");
       exit(1);
     }
     if(brief)

Applied in my tree, thanks.

Signature · 16 lines
Inform me of my mistakes, so I can add them to my list!
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel