[libvirt] [PATCH] Reindent virNetDevSendEthtoolIoctl

Ján Tomko jtomko at redhat.com
Tue Jun 7 12:57:14 UTC 2016


---
 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




More information about the libvir-list mailing list