]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu_processpriv: Fix #error message
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Apr 2022 12:04:02 +0000 (14:04 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Apr 2022 12:55:00 +0000 (14:55 +0200)
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@redhat.com>
src/qemu/qemu_processpriv.h

index 2bc60ce10325f8c9709f9d3ad690f2d5e76b57a1..9cb176e97c9c022a52d2a8c5b1ae079f01c15af0 100644 (file)
@@ -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