Skip to content

Commit 5ba370b

Browse files
author
Steve Scargall
authored
Merge pull request Apress#6 from sinkinben/master
fix compilation error: string was broken into two lines
2 parents 5945094 + 7d0d209 commit 5ba370b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chapter03/mmap_example.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ main(int argc, char *argv[])
9191
close(fd);
9292

9393
/* store a string to the Persistent Memory */
94-
strcpy(pmaddr, "This is new data written to the
95-
file");
94+
strcpy(pmaddr, "This is new data written to the file");
9695

9796
/*
9897
* Simplest way to flush is to call msync().

0 commit comments

Comments
 (0)