summaryrefslogtreecommitdiff
path: root/src/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.cc')
-rw-r--r--src/debug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.cc b/src/debug.cc
index e23ffd4..8cc5e1f 100644
--- a/src/debug.cc
+++ b/src/debug.cc
@@ -124,7 +124,7 @@ void gpgpu_sim::gpgpu_debug() {
fflush(stdout);
char line[1024];
- char * ptr = fgets(line, 1024, stdin);
+ char *ptr = fgets(line, 1024, stdin);
char *tok = strtok(line, " \t\n");
if (!strcmp(tok, "dp")) {
@@ -137,7 +137,7 @@ void gpgpu_sim::gpgpu_debug() {
} else if (!strcmp(tok, "q") || !strcmp(tok, "quit")) {
printf("\nreally quit GPGPU-Sim (y/n)?\n");
ptr = fgets(line, 1024, stdin);
- if(ptr == NULL ){
+ if (ptr == NULL) {
printf("can't read input\n");
exit(0);
}