mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
In the messages uses WARNING in uppercase.
This commit is contained in:
parent
e800b190a3
commit
4fb96c0dec
4 changed files with 8 additions and 8 deletions
2
pool.c
2
pool.c
|
|
@ -146,7 +146,7 @@ static void make_link(const char* pool_dir, struct snapraid_disk* disk, const ch
|
|||
ret = symlink(linkto, path);
|
||||
if (ret != 0) {
|
||||
if (errno == EEXIST) {
|
||||
fprintf(stderr, "warning: Duplicate pooling for '%s'\n", path);
|
||||
fprintf(stderr, "WARNING! Duplicate pooling for '%s'\n", path);
|
||||
#ifdef _WIN32
|
||||
} else if (errno == EPERM) {
|
||||
fprintf(stderr, "You must run as Adminstrator to be able to create symlinks.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue