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; }