898e76f Improve some errors for openconsole/channel

5 files Authored by Luyao Huang 8 years ago, Committed by mkletzan 8 years ago,
    Improve some errors for openconsole/channel
    
    Functions like virDomainOpenConsole() and virDomainOpenChannel() accept
    NULL as a dev_name parameter.  Try using alias for the error message if
    dev_name is not specified.
    
    Before:
      error: internal error: character device <null> is not using a PTY
    
    After:
      error: internal error: character device serial0 is not using a PTY
    
    Signed-off-by: Luyao Huang <lhuang@redhat.com>
    
        
file modified
+1 -1
file modified
+2 -1
file modified
+2 -2
file modified
+2 -1
file modified
+2 -1