diff options
Diffstat (limited to 'src/util/testdb.c')
-rw-r--r-- | src/util/testdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c index d559bd7b..ca10dd9f 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -2,7 +2,7 @@ * testdb.c : Test a pacman local database for validity * * Copyright (c) 2007 by Aaron Griffin <aaronmgriffin@gmail.com> - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ @@ -68,7 +68,7 @@ static int db_test(char *dbpath) int ret = 0; DIR *dir; - + if(!(dir = opendir(dbpath))) { fprintf(stderr, "error : %s : %s\n", dbpath, strerror(errno)); return(1); |