summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-16 14:11:06 +0200
committerMichael Schroeder <mls@suse.de>2013-04-16 14:11:06 +0200
commit3012c0cb47b6e083ed068e5d4a444f2aa9f6b410 (patch)
tree3c3d28990550f832e316d98df9ec6d5e942da0c8 /src
parent13061ec49859776145fb90cc8e401943105fbed3 (diff)
downloadlibsolv-3012c0cb47b6e083ed068e5d4a444f2aa9f6b410.tar.gz
libsolv-3012c0cb47b6e083ed068e5d4a444f2aa9f6b410.tar.bz2
libsolv-3012c0cb47b6e083ed068e5d4a444f2aa9f6b410.zip
make pool_solvable2str use -<arch> for haiku
Diffstat (limited to 'src')
-rw-r--r--src/solvable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solvable.c b/src/solvable.c
index 8392f49..a5baea5 100644
--- a/src/solvable.c
+++ b/src/solvable.c
@@ -53,7 +53,7 @@ pool_solvable2str(Pool *pool, Solvable *s)
}
if (al)
{
- p[nl + el] = '.';
+ p[nl + el] = pool->disttype == DISTTYPE_HAIKU ? '-' : '.';
strcpy(p + nl + el + 1, a);
}
return p;