]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add missing "%s" with constant string error message in stats_linux.c
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Jul 2012 15:25:05 +0000 (16:25 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 18 Jul 2012 15:31:23 +0000 (16:31 +0100)
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/stats_linux.c

index 725a2d03fdf8b8223da7456fbd0f87c703e29906..ae977af972caed79afb085b34e626da44c0ed3e5 100644 (file)
@@ -106,7 +106,7 @@ linuxDomainInterfaceStats(const char *path,
     }
     VIR_FORCE_FCLOSE(fp);
 
-    virStatsError(VIR_ERR_INTERNAL_ERROR,
+    virStatsError(VIR_ERR_INTERNAL_ERROR, "%s",
                   _("/proc/net/dev: Interface not found"));
     return -1;
 }