[PATCH] Reindent virNetDevSendEthtoolIoctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 src/util/virnetdev.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Pushed as trivial.

diff --git a/src/util/virnetdev.c b/src/util/virnetdev.c
index e6c57ac..af122f5 100644
--- a/src/util/virnetdev.c
+++ b/src/util/virnetdev.c
@@ -3213,15 +3213,15 @@ virNetDevSendEthtoolIoctl(int fd, struct ifreq *ifr)
     ret = ioctl(fd, SIOCETHTOOL, ifr);
     if (ret != 0) {
         switch (errno) {
-            case EINVAL: /* kernel doesn't support SIOCETHTOOL */
-                VIR_DEBUG("ethtool ioctl: invalid request");
-                break;
-            case EOPNOTSUPP: /* kernel doesn't support specific feature */
-                VIR_DEBUG("ethtool ioctl: request not supported");
-                break;
-            default:
-                virReportSystemError(errno, "%s", _("ethtool ioctl error"));
-                break;
+        case EINVAL: /* kernel doesn't support SIOCETHTOOL */
+            VIR_DEBUG("ethtool ioctl: invalid request");
+            break;
+        case EOPNOTSUPP: /* kernel doesn't support specific feature */
+            VIR_DEBUG("ethtool ioctl: request not supported");
+            break;
+        default:
+            virReportSystemError(errno, "%s", _("ethtool ioctl error"));
+            break;
         }
     }
 
-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]