about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'chat.c')
-rw-r--r--chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index e5527ac..b3990f3 100644
--- a/chat.c
+++ b/chat.c
@@ -273,7 +273,7 @@ int main(int argc, char *argv[]) {
 
 	if (self.kiosk) {
 		char *hash;
-		int n = asprintf(&hash, "%8" PRIx32, _hash(user));
+		int n = asprintf(&hash, "%08" PRIx32, _hash(user));
 		if (n < 0) err(EX_OSERR, "asprintf");
 		user = hash;
 	}