forked from BMSTU_MAGISTRATE_FIRST_SEMESTER/TRPO_2_lab
addd patches
This commit is contained in:
24
0001-Use-proper-grammar.patch
Normal file
24
0001-Use-proper-grammar.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
From b9d64d63e995a768c677990ef39ff1857cb466c5 Mon Sep 17 00:00:00 2001
|
||||
From: DeOwl <daniil@shvetsov.business>
|
||||
Date: Wed, 9 Sep 2026 16:27:15 +0300
|
||||
Subject: [PATCH 1/3] Use proper grammar.
|
||||
|
||||
---
|
||||
main.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/main.c b/main.c
|
||||
index f6e7abe..80cf29a 100644
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -6,6 +6,6 @@ int main(int argc, char **argv)
|
||||
printf("Enter your name: ");
|
||||
fgets(name, 255, stdin);
|
||||
name[strlen(name)-1] = '\0'; /* remove the newline at the end */
|
||||
- printf("Hello %s!\n", name);
|
||||
+ printf("Hello, %s!\n", name);
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.55.0
|
||||
|
||||
Reference in New Issue
Block a user