diff --git a/test/driver/realpath.c b/test/driver/realpath.c index 2757a9c2..866f6edc 100644 --- a/test/driver/realpath.c +++ b/test/driver/realpath.c @@ -1,5 +1,5 @@ /* -*- C -*- - Copyright (C) 2010, 2011 Rocky Bernstein + Copyright (C) 2010, 2011, 2012 Rocky Bernstein 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 @@ -97,12 +97,8 @@ main(int argc, const char *argv[]) if (NULL == psz_tmp_subdir) { exit(77); } - if (NULL == psz_tmp_subdir) { - printf("extract parent directory from temporary directory name\n"); - exit(77); - } - if (-1 == check_rc(mkdir(psz_tmp_subdir, 0755), + if (-1 == check_rc(mkdir(psz_tmp_subdir, 0700), "mkdir", psz_tmp_subdir)) exit(77);