summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-08-16 20:15:26 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-08-16 20:15:26 +0200
commitf957ed1b6cbf0767afbcfbc8aa46b8a836514c44 (patch)
tree37f50574b73886cd7a8bd3de2e0c4574b0b72f00 /src
parent9ab4195059e2d3662d5516d798aabb1bca9a6e43 (diff)
Use double quote when using cpp #warning
Diffstat (limited to 'src')
-rw-r--r--src/dir.c2
-rw-r--r--src/partgptw.c2
-rw-r--r--src/photorec.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dir.c b/src/dir.c
index bde7f13..e5ba768 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -648,7 +648,7 @@ char *mkdir_local(const char *localroot, const char *pathname)
#endif
}
#else
-#warning You need a mkdir function!
+#warning "You need a mkdir function!"
#endif
return localdir;
}
diff --git a/src/partgptw.c b/src/partgptw.c
index 9bebfd1..22788d9 100644
--- a/src/partgptw.c
+++ b/src/partgptw.c
@@ -75,7 +75,7 @@ static void efi_generate_uuid(efi_guid_t *ent_uuid)
uuid_export(uuid, UUID_FMT_BIN, (void **)&data_ptr, &data_len);
uuid_destroy(uuid);
#else
-#warning You need a uuid_generate, uuidgen or uuid_create function
+#warning "You need a uuid_generate, uuidgen or uuid_create function"
#endif
swap_uuid_and_efi_guid(ent_uuid);
}
diff --git a/src/photorec.c b/src/photorec.c
index 9699f88..4304a55 100644
--- a/src/photorec.c
+++ b/src/photorec.c
@@ -253,7 +253,7 @@ unsigned int photorec_mkdir(const char *recup_dir, const unsigned int initial_di
if(mkdir(working_recup_dir, 0775)!=0 && errno==EEXIST)
#endif
#else
-#warning You need a mkdir function!
+#warning "You need a mkdir function!"
#endif
{
dir_num++;