Skip to contentSkip to conversation

package/makedevs/makedevs.c: fix typos

Buildroot Peter Korsgaard 1 participant 1 message Sep 20, 2024

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=f2e91ea0aa0a28543e434e9dc3b0cf9612f58588
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2024.02.x

And replace Couldn't with 'Could not' for clarity.

(cherry picked from commit 79d062ab99fef3d7bb5982ac99d9cfcbe6d0cd83)
---
 package/makedevs/makedevs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/makedevs/makedevs.c +3 -3
index a5c9c7d64d..be76155ab6 100644
@@ -165,7 +165,7 @@ int bb_make_directory (char *path, long mode, int flags)
 			}
 			/* Since the directory exists, don't attempt to change
 			 * permissions if it was the full target.  Note that
-			 * this is not an error conditon. */
+			 * this is not an error condition. */
 			if (!c) {
 				umask(mask);
 				return 0;
@@ -480,11 +480,11 @@ int main(int argc, char **argv)
 	}
 
 	if (optind >= argc || (rootdir=argv[optind])==NULL) {
-		bb_error_msg_and_die("root directory not speficied");
+		bb_error_msg_and_die("root directory not specified");
 	}
 
 	if (chdir(rootdir) != 0) {
-		bb_perror_msg_and_die("Couldnt chdir to %s", rootdir);
+		bb_perror_msg_and_die("Could not chdir to %s", rootdir);
 	}
 
 	umask(0);

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot