summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-04-18 23:41:45 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-04 18:59:44 +0200
commit203b283cc1f478f5ea87de53a9fd2da3052f1c9a (patch)
tree86754d0f8d615555eaec7c0a118f13aa4d8d87de /samples
parent5c9c5d7f26acc2c669c1dcf57d1bb43ee99220ce (diff)
downloadlinux-stable-203b283cc1f478f5ea87de53a9fd2da3052f1c9a.tar.gz
linux-stable-203b283cc1f478f5ea87de53a9fd2da3052f1c9a.tar.bz2
linux-stable-203b283cc1f478f5ea87de53a9fd2da3052f1c9a.zip
virt: acrn: Fix typos
- s/need/needs/ - s/No/Not/ Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Link: https://lore.kernel.org/r/20240418214143.1253-3-thorsten.blum@toblux.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
-rw-r--r--samples/acrn/vm-sample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/acrn/vm-sample.c b/samples/acrn/vm-sample.c
index 704402c64ea3..c61e0f91456e 100644
--- a/samples/acrn/vm-sample.c
+++ b/samples/acrn/vm-sample.c
@@ -3,7 +3,7 @@
* A sample program to run a User VM on the ACRN hypervisor
*
* This sample runs in a Service VM, which is a privileged VM of ACRN.
- * CONFIG_ACRN_HSM need to be enabled in the Service VM.
+ * CONFIG_ACRN_HSM needs to be enabled in the Service VM.
*
* Guest VM code in guest16.s will be executed after the VM launched.
*
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
ret = posix_memalign(&guest_memory, 4096, GUEST_MEMORY_SIZE);
if (ret < 0) {
- printf("No enough memory!\n");
+ printf("Not enough memory!\n");
return -1;
}
hsm_fd = open("/dev/acrn_hsm", O_RDWR|O_CLOEXEC);