summaryrefslogtreecommitdiff
path: root/sftp-server-main.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2009-02-22 08:47:02 +1100
committerDamien Miller <djm@mindrot.org>2009-02-22 08:47:02 +1100
commit9eab9564d5185b52f33f4a265914d32a3147338e (patch)
tree86145fce64db1121ce8920426693f472c8f7d373 /sftp-server-main.c
parent7691e5fa44a54b193f00380634c3978a961480d2 (diff)
- (djm) OpenBSD CVS Sync
- tobias@cvs.openbsd.org 2009/02/21 19:32:04 [misc.c sftp-server-main.c ssh-keygen.c] Added missing newlines in error messages. ok dtucker
Diffstat (limited to 'sftp-server-main.c')
-rw-r--r--sftp-server-main.c5
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