[PATCH 1/2] qemu_processpriv: Fix #error message

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

 



The point of qemu_processpriv.h file is to allow a small subset
of functions to be called from test suite but not elsewhere. This
is implemented by requiring everybody that includes the file to
define a macro. If not done so, an error is printed at compile
time. However, this error message contains a typo because it
mentions qemu_process_priv.h while the file is called
qemu_processpriv.h.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/qemu/qemu_processpriv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/qemu/qemu_processpriv.h b/src/qemu/qemu_processpriv.h
index 2bc60ce103..9cb176e97c 100644
--- a/src/qemu/qemu_processpriv.h
+++ b/src/qemu/qemu_processpriv.h
@@ -20,7 +20,7 @@
  */
 
 #ifndef LIBVIRT_QEMU_PROCESSPRIV_H_ALLOW
-# error "qemu_process_priv.h may only be included by qemu_process.c or test suites"
+# error "qemu_processpriv.h may only be included by qemu_process.c or test suites"
 #endif /* LIBVIRT_QEMU_PROCESSPRIV_H_ALLOW */
 
 #pragma once
-- 
2.35.1




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

  Powered by Linux