Stray Leading Character in sys/arch/amd64/include/xen/hypercalls.h

Jeff Frasca <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <CAOyJ0Ln=SyKu89hV4kY1oBqncv8R4jiWJ9RD0VmERBfer82Uig@mail.gmail.com>
Hi all, in this week's installment of Jeff Uses Computers Wrong, I built a
stripped down, custom kernel for a VPS.  Building without XEN support on amd64
failed on NetBSD 10.1.  There's a stray leading character on line 364 of
sys/arch/amd64/include/xen/hypercalls.h.  Looks like it's been there as far back
as I can go in CVS history.

Clearly, it's not causing anyone else problems, so no rush on getting
this patch in.
(I got my kernel built and running with this patch, so I'm set.  :-)

--- sys/arch/amd64/include/xen/hypercalls.h.orig Thu Nov 13 15:15:15 2025
+++ sys/arch/amd64/include/xen/hypercalls.h Thu Nov 13 15:15:32 2025
@@ -361,7 +361,7 @@
  return _hypercall2(int, sched_op, SCHEDOP_shutdown,
      &shutdown_reason);
 #else
-- return _hypercall2(int, sched_op, SCHEDOP_shutdown, SHUTDOWN_poweroff);
+ return _hypercall2(int, sched_op, SCHEDOP_shutdown, SHUTDOWN_poweroff);
 #endif
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.