diff options
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2833,7 +2833,7 @@ Db_open(prefix=NULL, write_perm=0) size_t len; if(getcwd(relpath, sizeof(relpath)) == NULL) - croak(strerror(errno)); + croak("%s", strerror(errno)); len = strlen(relpath); snprintf(&(relpath[len]), sizeof(relpath)-len, "/%s", prefix); rpmtsSetRootDir(db->ts, relpath); |