X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=klibc%2Fklibc%2Ftests%2Fmicrohello.c;h=f0f5a40379f73f0e8a96ba990e86499c5062317b;hb=6b493a20e1dbf90a4e54d3be37027fa906220c31;hp=e57cd05a5035363f1472c4d5ca9dab8fb2679a02;hpb=a41a0e28c2ba0abf99b5e7ea17645ae0e4f05758;p=elogind.git diff --git a/klibc/klibc/tests/microhello.c b/klibc/klibc/tests/microhello.c index e57cd05a5..f0f5a4037 100644 --- a/klibc/klibc/tests/microhello.c +++ b/klibc/klibc/tests/microhello.c @@ -3,7 +3,7 @@ int main(void) { - const char hello[] = "Hello, World!\n"; + static const char hello[] = "Hello, World!\n"; _fwrite(hello, sizeof hello-1, stdout); return 0; }