diff --git a/hello.c b/hello.c index a984106ee1f8ff8ef6b1a46c5429a7d50f37ea19..7489bc9927f9b8f7f4e5212d1f7759059711cbeb 100644 --- a/hello.c +++ b/hello.c @@ -8,6 +8,6 @@ int main() fprintf(stderr, "Error: It is positive\n"); else fprintf(stderr, "Error: It is negative\n"); - fprintf(stdout, "Hello, World %-10d\n", a); + fprintf(stdout, "Hello, World %-d\n", a); return 0; } diff --git a/output_data b/output_data index b8656e8e826c9930dc0c1175aaed6afa29137793..3bb9c68d22a6d55398bad302c5f096a20224616b 100644 --- a/output_data +++ b/output_data @@ -1 +1,2 @@ -This is negative +Hello, World -200 +Error: It is negative