Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Makefile: link libcurl before zlib
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index c1edabf34d5a1e3466a71bd679d3fd6cf50fc5ee..a71331af18c7daae5ef197a25c477580cc3a172c 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-1849,7
+1849,7
@@
static const char *get_ident_string(void)
if (sb.len)
return sb.buf;
- if (uname(&uts))
+ if (uname(&uts)
< 0
)
die_errno(_("failed to get kernel name and information"));
strbuf_addf(&sb, "Location %s, system %s %s %s", get_git_work_tree(),
uts.sysname, uts.release, uts.version);