Index: fusl/src/legacy/cuserid.c |
diff --git a/fusl/src/legacy/cuserid.c b/fusl/src/legacy/cuserid.c |
index 4e78798ded26b09992bb69c4383447a805ae2ab9..771549cd3cebc62fe4eebad4cda34004ef718d4c 100644 |
--- a/fusl/src/legacy/cuserid.c |
+++ b/fusl/src/legacy/cuserid.c |
@@ -3,12 +3,11 @@ |
#include <stdio.h> |
#include <unistd.h> |
-char *cuserid(char *buf) |
-{ |
- struct passwd pw, *ppw; |
- long pwb[256]; |
- if (getpwuid_r(geteuid(), &pw, (void *)pwb, sizeof pwb, &ppw)) |
- return 0; |
- snprintf(buf, L_cuserid, "%s", pw.pw_name); |
- return buf; |
+char* cuserid(char* buf) { |
+ struct passwd pw, *ppw; |
+ long pwb[256]; |
+ if (getpwuid_r(geteuid(), &pw, (void*)pwb, sizeof pwb, &ppw)) |
+ return 0; |
+ snprintf(buf, L_cuserid, "%s", pw.pw_name); |
+ return buf; |
} |