diff options
Diffstat (limited to 'sftp-server-main.c')
-rw-r--r-- | sftp-server-main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sftp-server-main.c b/sftp-server-main.c index 2b14569e4..7e644ab89 100644 --- a/sftp-server-main.c +++ b/sftp-server-main.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-server-main.c,v 1.3 2008/03/26 23:44:41 djm Exp $ */ | 1 | /* $OpenBSD: sftp-server-main.c,v 1.4 2009/02/21 19:32:04 tobias Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2008 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2008 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -42,7 +42,8 @@ main(int argc, char **argv) | |||
42 | sanitise_stdfd(); | 42 | sanitise_stdfd(); |
43 | 43 | ||
44 | if ((user_pw = getpwuid(getuid())) == NULL) { | 44 | if ((user_pw = getpwuid(getuid())) == NULL) { |
45 | fprintf(stderr, "No user found for uid %lu", (u_long)getuid()); | 45 | fprintf(stderr, "No user found for uid %lu\n", |
46 | (u_long)getuid()); | ||
46 | return 1; | 47 | return 1; |
47 | } | 48 | } |
48 | 49 | ||