diff options
-rw-r--r-- | meta/recipes-devtools/makedevs/makedevs/makedevs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/makedevs/makedevs/makedevs.c b/meta/recipes-devtools/makedevs/makedevs/makedevs.c index cba7681414..01e564afee 100644 --- a/meta/recipes-devtools/makedevs/makedevs/makedevs.c +++ b/meta/recipes-devtools/makedevs/makedevs/makedevs.c | |||
@@ -230,7 +230,7 @@ static void add_new_directory(char *name, char *path, | |||
230 | unsigned long uid, unsigned long gid, unsigned long mode) | 230 | unsigned long uid, unsigned long gid, unsigned long mode) |
231 | { | 231 | { |
232 | if (trace) | 232 | if (trace) |
233 | fprintf(stderr, "Directory: %s %s UID: %ld GID %ld MODE: %04lo", path, name, uid, gid, mode); | 233 | fprintf(stderr, "Directory: %s %s UID: %lu GID %lu MODE: %04lo", path, name, uid, gid, mode); |
234 | 234 | ||
235 | if (mkdir(path, mode) < 0) { | 235 | if (mkdir(path, mode) < 0) { |
236 | if (EEXIST == errno) { | 236 | if (EEXIST == errno) { |
@@ -251,7 +251,7 @@ static void add_new_device(char *name, char *path, unsigned long uid, | |||
251 | struct stat sb; | 251 | struct stat sb; |
252 | 252 | ||
253 | if (trace) { | 253 | if (trace) { |
254 | fprintf(stderr, "Device: %s %s UID: %ld GID: %ld MODE: %04lo MAJOR: %d MINOR: %d", | 254 | fprintf(stderr, "Device: %s %s UID: %lu GID: %lu MODE: %04lo MAJOR: %d MINOR: %d", |
255 | path, name, uid, gid, mode, (short)(rdev >> 8), (short)(rdev & 0xff)); | 255 | path, name, uid, gid, mode, (short)(rdev >> 8), (short)(rdev & 0xff)); |
256 | } | 256 | } |
257 | 257 | ||
@@ -292,7 +292,7 @@ static void add_new_file(char *name, char *path, unsigned long uid, | |||
292 | unsigned long gid, unsigned long mode) | 292 | unsigned long gid, unsigned long mode) |
293 | { | 293 | { |
294 | if (trace) { | 294 | if (trace) { |
295 | fprintf(stderr, "File: %s %s UID: %ld GID: %ld MODE: %04lo\n", | 295 | fprintf(stderr, "File: %s %s UID: %lu GID: %lu MODE: %04lo\n", |
296 | path, name, gid, uid, mode); | 296 | path, name, gid, uid, mode); |
297 | } | 297 | } |
298 | 298 | ||
@@ -311,7 +311,7 @@ static void add_new_fifo(char *name, char *path, unsigned long uid, | |||
311 | unsigned long gid, unsigned long mode) | 311 | unsigned long gid, unsigned long mode) |
312 | { | 312 | { |
313 | if (trace) { | 313 | if (trace) { |
314 | printf("Fifo: %s %s UID: %ld GID: %ld MODE: %04lo\n", | 314 | printf("Fifo: %s %s UID: %lu GID: %lu MODE: %04lo\n", |
315 | path, name, gid, uid, mode); | 315 | path, name, gid, uid, mode); |
316 | } | 316 | } |
317 | 317 | ||