From d23a45359c7c116ce7681faa05d0901751c87281 Mon Sep 17 00:00:00 2001 From: jewelcodes Date: Thu, 3 Oct 2024 17:59:19 -0400 Subject: [PATCH] pwd: typo in pwd command --- pwd/pwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwd/pwd.c b/pwd/pwd.c index 02855ec..fccc349 100644 --- a/pwd/pwd.c +++ b/pwd/pwd.c @@ -11,6 +11,6 @@ int main(void) { char path[PATH_MAX]; - sprintf("%s\n", getwd(path)); + printf("%s\n", getwd(path)); return 0; }