diff options
| author | Miguel <m.i@gmx.at> | 2018-08-18 16:20:26 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-18 16:20:26 +0200 |
| commit | 639c3d47b09114628f8e1f8817c27c10bf1fb28c (patch) | |
| tree | f0381de25cc8f2de96a87b47cc76f7d09548bf7e /userspace/err.c | |
| parent | 7b0d88b2dff9b635d9ff69f6d51b6832c1ca4c40 (diff) | |
reviving old drivers: mouse, pci, e1000
Diffstat (limited to 'userspace/err.c')
| -rw-r--r-- | userspace/err.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/userspace/err.c b/userspace/err.c index b8dc8ed..7a33e69 100644 --- a/userspace/err.c +++ b/userspace/err.c @@ -2,8 +2,8 @@ int main() { - char buf[]="errrrrrro\n"; - printf("writing some err\n"); - fwrite(buf,1,10,stderr); // write stderr; + char buf[]="This is a line written to stderr.\n"; + int l=fwrite(buf,sizeof(char),strlen(buf),stderr); // write stderr; + printf("Written %i chars to stderr.\n",l); return 0; } |
